Missed stashing of out_indices in model

This commit is contained in:
Ross Wightman 2019-11-05 09:55:55 -08:00
parent 35e8f0c5e7
commit 2393708650

View File

@ -1106,6 +1106,7 @@ class GenEfficientNetFeatures(_GenEfficientNet):
num_stages = max(out_indices) + 1 # FIXME reduce num stages created if not needed
#assert len(block_args) >= num_stages - 1
#block_args = block_args[:num_stages - 1]
self.out_indices = out_indices
# FIXME it would be nice if Python made this nicer without using kwargs and erasing IDE hints, etc
super(GenEfficientNetFeatures, self).__init__(