Problem with running python file on BlueBox 2.0

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Problem with running python file on BlueBox 2.0

624 次查看
jayankantduggal
Contributor I

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

标记 (3)
0 项奖励
回复
0 回复数