Closed
Description
Hello,
trying to init NoTrainInceptionV3 with latest version
feature_list=["2048"]
inception = NoTrainInceptionV3(name="inception-v3-compat", features_list=feature_list)
but I get
445 raise TypeError("{}.__init__() got an unexpected keyword argument '{}'"
446 "".format(type(self).__name__, next(iter(kwargs))))
448 if self.call_super_init is False and bool(args):
--> 449 raise TypeError("{}.__init__() takes 1 positional argument but {} were"
450 " given".format(type(self).__name__, len(args) + 1))
452 """
453 Calls super().__setattr__('a', a) instead of the typical self.a = a
454 to avoid Module.__setattr__ overhead. Module's __setattr__ has special
455 handling for parameters, submodules, and buffers but simply calls into
456 super().__setattr__ for all other attributes.
457 """
458 super().__setattr__('training', True)
TypeError: NoTrainInceptionV3.__init__() takes 1 positional argument but 4 were given