AnsweredAssumed Answered

Problem with running python file on BlueBox 2.0

Question asked by Jayan Kant Duggal on May 27, 2019

I'm facing problem running my file on bluebox 2.0, the error is as follows:

 

Warning: component python_v2_1: ['Traceback (most recent call last):\n', '  File "/home/bluebox/bluebox_j/sqznxt_bb.py", line 21, in <module>\n    from SSqnxt_V1_test_3 import SqueezeNext\n', '  File "/home/bluebox/bluebox_j/SSqnxt_V1_test_3.py", line 263, in <module>\n    net, class_to_idx = load_checkpoint(\'/home/bluebox/bluebox_j/SSqnxt_V1-3-1_Cifar10.pth\')\n', '  File "/home/bluebox/bluebox_j/SSqnxt_V1_test_3.py", line 208, in load_checkpoint\n    checkpoint = torch.load(filepath)\n', '  File "/usr/local/lib/python3.5/dist-packages/torch/serialization.py", line 358, in load\n    return _load(f, map_location, pickle_module)\n', '  File "/usr/local/lib/python3.5/dist-packages/torch/serialization.py", line 529, in _load\n    result = unpickler.load()\n', "AttributeError: Can't get attribute 'SqueezeNext' on <module '__main__' (built-in)>\n"] 

 

 

Please help me with the attribute error ASAP.

 

Thanks in advance,

Jayan

Outcomes