zyf12389 / GC-Net

gc-net for stereo matching by using pytorch
108 stars 20 forks source link

A question about data/file format #3

Open ralf307 opened 5 years ago

ralf307 commented 5 years ago

Hello,

I am almost a freshman in computer vision so my question might be not so brilliant.

In the scripts main.py and read_data.py, files of formats '.t7' and '.pkl' should be loaded. However, I did not find any file with these suffixes in the Scene Flow Dataset. Could you give me a hint where you acquired these data?

Thank you.

yGaoJiany commented 4 years ago

You could find ‘ foutl=open('paths_left_train.pkl','wb') ’ in readFile.py and read_testFile.py, where the files of the fomat '.pkl' are created. And, the files of the format '.t7' save the weights of the network.

Ren-Lex commented 4 years ago

Did you find './checkpoint/ckpt.t7'? thanks

yGaoJiany commented 4 years ago

Did you find './checkpoint/ckpt.t7'? thanks

The contributors of the project didn't offer the weight file(.t7 file). You could try to set "loads_sate" to "false" and create a new folder named "checkpoint" in the project folder before you start training. This may work.

Ren-Lex commented 4 years ago

Hello,

I am almost a freshman in computer vision so my question might be not so brilliant.

In the scripts main.py and read_data.py, files of formats '.t7' and '.pkl' should be loaded. However, I did not find any file with these suffixes in the Scene Flow Dataset. Could you give me a hint where you acquired these data?

Thank you.

Can you solve it?I can't find files of formats '.t7'