Closed vqbang closed 3 years ago
Hi,
I am sorry for the late reply. This email is in my junk bins.
Have you solved this problem? I believe this is because of the different version of pytorch.
Best, Wei
From: bang.vo notifications@github.com Sent: Wednesday, 30 December 2020 20:15 To: YvanYin/VNL_Monocular_Depth_Prediction VNL_Monocular_Depth_Prediction@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [YvanYin/VNL_Monocular_Depth_Prediction] Error when running test_any_images.py (#51)
I try to run this piece of code to get a sample inference on google colab
!cd /content/VNL_Monocular_Depth_Prediction && python ./tools/test_any_images.py \ --dataroot /content/VNL_Monocular_Depth_Prediction \ --dataset any \ --cfg_file /content/VNL_Monocular_Depth_Prediction/lib/configs/resnext101_32x4d_nyudv2_class \ --load_ckpt /content/VNL_Monocular_Depth_Prediction/nyu_rawdata.pth
But got an error like this
----------------- Options ---------------
batchsize: 2
cfg_file: /content/VNL_Monocular_Depth_Prediction/lib/configs/resnext101_32x4d_nyudv2_class [default: lib/configs/resnext_32x4d_nyudv2_c1]
dataroot: /content/VNL_Monocular_Depth_Prediction [default: None]
dataset: any [default: nyudv2]
epoch: 30
load_ckpt: /content/VNL_Monocular_Depth_Prediction/nyu_rawdata.pth [default: None]
phase: test
phase_anno: test
results_dir: ./evaluation
resume: False
start_epoch: 0
start_step: 0
thread: 4
use_tfboard: False
----------------- End -------------------
INFO load_dataset.py: 31: any is created.
INFO test_any_images.py: 45: test_data_size: 0
Traceback (most recent call last):
File "./tools/test_any_images.py", line 47, in
Do you have any ideas ?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/YvanYin/VNL_Monocular_Depth_Prediction/issues/51, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKVYQ543MXNU57VSZII2SV3SXLZCVANCNFSM4VOEPLEA.
I try to run this piece of code to get a sample inference on google colab
But got an error like this
Do you have any ideas ?