Open stw2021 opened 5 months ago
We can see from your command
torchrun --nproc_per_node=4 --master_port 4321 train.py gpus=[0] ...
that you run with 4 nodes, but only provide 1 GPU.
You should give 4 GPU ids (e.g. gpus=[0,1,2,3]) for 4 nodes.
If you only have 1 GPU, you can directly use python train.py gpus=[0] ...
to run the code.
Thank you very much for your reply! I have solved this problem. But when I test with the checkpoints provided, the result is different from the paper:
Please show me your command.
command is HYDRA_FULL_ERROR=1 python test.py gpus=[0] name=BP_KITTI ++chpt=BP_KITTI net=PMP num_workers=4 data=KITTI data.testset.mode=test data.testset.height=352 test_batch_size=1 metric=RMSE ++save=true
You evaluated the test set. As we couldn't get the ground truth of the test set of KITTI dataset, I simply used the input sparse depth map as the ground truth.
Thus, the displayed RMSE result for test set is meaningless. You need to submit the saved results to KITTI server for fair evaluation.
Got it! Thank you very much for your patient reply.
Hello, I encountered some problems while setting up the environment. Can I ask for your advice @stw2021
Hello, I encountered some problems while setting up the environment. Can I ask for your advice @stw2021
I haven't looked at this project for a long time, but I will try my best to reply to your problems.
Dear Authors, Thanks for the amazing work! when I run:
torchrun --nproc_per_node=4 --master_port 4321 train.py gpus=[0] num_workers=4 name=BP_KITTI net=PMP data=KITTI lr=1e-3 train_batch_size=2 test_batch_size=2 sched/lr=NoiseOneCycleCosMo sched.lr.policy.max_momentum=0.90 nepoch=30 test_epoch=25 ++net.sbn=true
There are outputs:May I ask how I should solve it, Thanks!