JiaRenChang / PSMNet

Pyramid Stereo Matching Network (CVPR2018)
MIT License
1.41k stars 424 forks source link

Error when running finetune.py #217

Open hubery4 opened 3 years ago

hubery4 commented 3 years ago

Hi Jiaren,

When I use the pretrained model Scene_flow to finetune KITTI_2015, there is always a error: image Each time the index number is different. I just directly follow your instructions to train the dataset and I did not find the error point.

Could you give me some suggestions? Thank you so much.

Jack47746 commented 3 years ago

hi,Have you solved this problem? I train with IndexError: index 99 is out of bounds for dimension 1 with size 1 image

hubery4 commented 3 years ago

It seems the problem of the dimension of 'pred_disp'. 'true_disp' has 3 dimension while 'pred_disp' has 4. You need add ':' in pred_disp. image

Jack47746 commented 3 years ago

thank you so much!Have you encountered such a problem? Why did I stop running halfway through the run, and there was no error. image

hubery4 commented 3 years ago

@Jack47746 I have also encountered this problem both in Colab and my own computer. It seems the RAM memory problem. It needs much more memory (>32GB). But I have not validated it. If you have some methods, please share it with me. Thank you.

Jack47746 commented 3 years ago

change the batchsize? My batchsize is 3.Do you speak chinese, do you have QQ or Wechat?

hubery4 commented 3 years ago

@Jack47746 Changing batchsize seems not working. I have WeChat. You could directly email me (huberywu4ever@gmail.com) to give me the wechat number and I can add your wechat.

michaelnguyen11 commented 2 years ago

https://github.com/JiaRenChang/PSMNet/issues/226

yuankang1234 commented 1 year ago

@Jack47746 Changing batchsize seems not working. I have WeChat. You could directly email me (huberywu4ever@gmail.com) to give me the wechat number and I can add your wechat.

你好,我加个分号但是又报cpu占用不够了,请问你知道方法吗?我微信xue666630

2Rsys commented 3 months ago

更改批处理大小似乎不起作用。我有微信。你可以直接给我发电子邮件(huberywu4ever@gmail.com)给我微信号码,我可以添加你的微信。

你好,我加个分号但是又报cpu占用不够了,请问你知道方法吗?我微信xue666630 请问您解决了吗?我也遇到了同样的问题,更改batchsize没用