PSMNet icon indicating copy to clipboard operation
PSMNet copied to clipboard

Test the KITTI 2015 dataset with low GPU or CPU

Open TrackingBird opened this issue 6 years ago • 5 comments

Thanks for your working. Sorry to bother you. I just want to test one image pairs of KITTI 2015 with your pre-trained model. python submission.py --datapath /media/jennifer/Papers/1_StereoData/KITTI2015_data_scene_flow/testing/ --loadmodel pretrained_model_KITTI2015.tar While the process is out of memory. I just change the image size in submission.py, I also get some errors. I choose no-cuda, there are also some errors. Can I test kitti 2015 dataset with low GPU or CPU? Thanks.

TrackingBird avatar May 16 '18 08:05 TrackingBird

@TrackingBird I am afraid not.
This model need around 4500 MB GPU memory to inference one pair of KITTI images. However, we are working on reducing this model to embedded platforms.

JiaRenChang avatar May 16 '18 12:05 JiaRenChang

Hello, Why it takes so much memory for the inference? The bottleneck I guess is cost a array at the beginning of contraction part of size h/4w/4d/4*64.. it should be less than GB with floats if we don’t store intermediate results and gradients.

On 16 May 2018, at 14:25, Jia-Ren Chang [email protected] wrote:

@TrackingBird I am afraid not. This model need around 4500 MB GPU memory to inference one pair of KITTI images. However, we are working on reducing this model to embedded platforms.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

tlkvstepan avatar May 18 '18 17:05 tlkvstepan

Hi, have you made any progress on reducing this model to embeded platforms? @JiaRenChang

sky-github avatar Dec 17 '18 02:12 sky-github

@TrackingBird please refer this https://github.com/passion3394/PSMNet_CPU

passion3394 avatar Oct 16 '19 10:10 passion3394

@TrackingBird please refer this https://github.com/passion3394/PSMNet_CPU

Hi,What changes have you made?

Abasin123 avatar Sep 25 '22 07:09 Abasin123