Connected to simulation.
CUDA detected. Running with GPU acceleration.
/home/dell1804/ws_grasp/src/visual-pushing-grasping-master/models.py:203: UserWarning: nn.init.kaiming_normal is now deprecated in favor of nn.init.kaimingnormal.
nn.init.kaiming_normal(m[1].weight.data)
/home/dell1804/.local/lib/python2.7/site-packages/torch/nn/_reduction.py:43: UserWarning: size_average and reduce args will be deprecated, please use reduction='none' instead.
warnings.warn(warning.format(ret))
Traceback (most recent call last):
File "main.py", line 450, in
main(args)
File "main.py", line 73, in main
is_testing, load_snapshot, snapshot_file, force_cpu)
File "/home/dell1804/ws_grasp/src/visual-pushing-grasping-master/trainer.py", line 65, in init
self.model.load_state_dict(torch.load(snapshot_file))
File "/home/dell1804/.local/lib/python2.7/site-packages/torch/serialization.py", line 529, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/home/dell1804/.local/lib/python2.7/site-packages/torch/serialization.py", line 709, in _legacy_load
deserialized_objects[key]._set_from_file(f, offset, f_should_read_directly)
RuntimeError: unexpected EOF, expected 279728 more bytes. The file might be corrupted.
terminate called after throwing an instance of 'c10::Error'
what(): owning_ptr == NullType::singleton() || owningptr->refcount.load() > 0 INTERNAL ASSERT FAILED at /pytorch/c10/util/intrusive_ptr.h:348, please report a bug to PyTorch. intrusive_ptr: Can only intrusive_ptr::reclaim() owning pointers that were created using intrusive_ptr::release(). (reclaim at /pytorch/c10/util/intrusive_ptr.h:348)
frame #0: c10::Error::Error(c10::SourceLocation, std::string const&) + 0x33 (0x7f58dcc38193 in /home/dell1804/.local/lib/python2.7/site-packages/torch/lib/libc10.so)
frame #1: + 0x18cd59f (0x7f58de95859f in /home/dell1804/.local/lib/python2.7/site-packages/torch/lib/libtorch.so)
frame #2: THStorage_free + 0x17 (0x7f58df120ba7 in /home/dell1804/.local/lib/python2.7/site-packages/torch/lib/libtorch.so)
frame #3: + 0x55d7ed (0x7f5927b897ed in /home/dell1804/.local/lib/python2.7/site-packages/torch/lib/libtorch_python.so)
frame #18: __libc_start_main + 0xe7 (0x7f59697e7b97 in /lib/x86_64-linux-gnu/libc.so.6)
Connected to simulation. CUDA detected. Running with GPU acceleration. /home/dell1804/ws_grasp/src/visual-pushing-grasping-master/models.py:203: UserWarning: nn.init.kaiming_normal is now deprecated in favor of nn.init.kaimingnormal. nn.init.kaiming_normal(m[1].weight.data) /home/dell1804/.local/lib/python2.7/site-packages/torch/nn/_reduction.py:43: UserWarning: size_average and reduce args will be deprecated, please use reduction='none' instead. warnings.warn(warning.format(ret)) Traceback (most recent call last): File "main.py", line 450, in
main(args)
File "main.py", line 73, in main
is_testing, load_snapshot, snapshot_file, force_cpu)
File "/home/dell1804/ws_grasp/src/visual-pushing-grasping-master/trainer.py", line 65, in init
self.model.load_state_dict(torch.load(snapshot_file))
File "/home/dell1804/.local/lib/python2.7/site-packages/torch/serialization.py", line 529, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/home/dell1804/.local/lib/python2.7/site-packages/torch/serialization.py", line 709, in _legacy_load
deserialized_objects[key]._set_from_file(f, offset, f_should_read_directly)
RuntimeError: unexpected EOF, expected 279728 more bytes. The file might be corrupted.
terminate called after throwing an instance of 'c10::Error'
what(): owning_ptr == NullType::singleton() || owningptr->refcount.load() > 0 INTERNAL ASSERT FAILED at /pytorch/c10/util/intrusive_ptr.h:348, please report a bug to PyTorch. intrusive_ptr: Can only intrusive_ptr::reclaim() owning pointers that were created using intrusive_ptr::release(). (reclaim at /pytorch/c10/util/intrusive_ptr.h:348)
frame #0: c10::Error::Error(c10::SourceLocation, std::string const&) + 0x33 (0x7f58dcc38193 in /home/dell1804/.local/lib/python2.7/site-packages/torch/lib/libc10.so)
frame #1: + 0x18cd59f (0x7f58de95859f in /home/dell1804/.local/lib/python2.7/site-packages/torch/lib/libtorch.so)
frame #2: THStorage_free + 0x17 (0x7f58df120ba7 in /home/dell1804/.local/lib/python2.7/site-packages/torch/lib/libtorch.so)
frame #3: + 0x55d7ed (0x7f5927b897ed in /home/dell1804/.local/lib/python2.7/site-packages/torch/lib/libtorch_python.so)