vt-vl-lab / 3d-photo-inpainting

[CVPR 2020] 3D Photography using Context-aware Layered Depth Inpainting
https://shihmengli.github.io/3D-Photo-Inpainting/
Other
6.91k stars 1.11k forks source link

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

Closed silexxx closed 4 years ago

silexxx commented 4 years ago

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() || owningptr->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)