EfficientNet-PyTorch icon indicating copy to clipboard operation
EfficientNet-PyTorch copied to clipboard

AttributeError: module 'torch.nn' has no attribute 'Identity' with old pytorch and AttributeError: 'torch.dtype' object has no attribute 'type' with new

Open kysunami opened this issue 4 years ago • 1 comments

is there a fix for this backward compatibility issue yet?

kysunami avatar Nov 13 '20 04:11 kysunami

I want to get the output of the layer 'Identity with EfficientNet.Identity. I algo get the same error AttributeError: 'EfficientNet' object has no attribute 'Identity'

liutianling avatar Nov 19 '20 06:11 liutianling