Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aborted (core dumped) i tried it on cpu and gpu by setting -1 and 0 in both its showing wrong only #89

Closed
silexxx opened this issue Jul 25, 2020 · 0 comments

Comments

@silexxx
Copy link

silexxx commented Jul 25, 2020

running on device cpu
0%| | 0/1 [00:00<?, ?it/s]Current Source ==> moon
Running depth extraction at 1595649651.8408325
initialize
device: cpu
start processing
processing image/moon.jpg (1/1)
torch.Size([1, 3, 384, 384])
finished
Start Running 3D_Photo ...
Loading edge model at 1595649670.6670277
Loading depth model at 1595649670.8737748
0%| | 0/1 [00:19<?, ?it/s]
Traceback (most recent call last):
File "main.py", line 88, in
map_location=torch.device(device))
File "/home/daneshwar/.conda/envs/3DP/lib/python3.7/site-packages/torch/serialization.py", line 529, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/home/daneshwar/.conda/envs/3DP/lib/python3.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 5924906 more bytes. The file might be corrupted.
terminate called after throwing an instance of 'c10::Error'
what(): owning_ptr == NullType::singleton() || owning_ptr->refcount
.load() > 0 INTERNAL ASSERT FAILED at /opt/conda/conda-bld/pytorch_1579022060824/work/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 /opt/conda/conda-bld/pytorch_1579022060824/work/c10/util/intrusive_ptr.h:348)
frame #0: c10::Error::Error(c10::SourceLocation, std::string const&) + 0x47 (0x7fb0abca1627 in /home/daneshwar/.conda/envs/3DP/lib/python3.7/site-packages/torch/lib/libc10.so)
frame #1: + 0x148c55f (0x7fb0aee6155f in /home/daneshwar/.conda/envs/3DP/lib/python3.7/site-packages/torch/lib/libtorch.so)
frame #2: THStorage_free + 0x17 (0x7fb0af629b67 in /home/daneshwar/.conda/envs/3DP/lib/python3.7/site-packages/torch/lib/libtorch.so)
frame #3: + 0x5639bd (0x7fb0ddba69bd in /home/daneshwar/.conda/envs/3DP/lib/python3.7/site-packages/torch/lib/libtorch_python.so)

frame #17: __libc_start_main + 0xe7 (0x7fb10434db97 in /lib/x86_64-linux-gnu/libc.so.6)

Aborted (core dumped)

@silexxx silexxx closed this as completed Jul 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant