python-fire
python-fire copied to clipboard
bugs when use pytorch
Traceback (most recent call last):
File "multilabel/runners/resnet_runner.py", line 26, in
When I rewrite pytorch nn.Module, I use x as params to override forward function. This bugs appear. I have test. If I do not use Fire, it works well. I suppose that because fire did not support this kind of override? Or someone can tell me how to fix it. Thanks.
Could you provide the code for defining the resnet50 object in resnet_runner.py?