princeton-vl / RAFT

BSD 3-Clause "New" or "Revised" License
3.31k stars 634 forks source link

Error while evalute kitti dataset #143

Open XinyuMeng opened 2 years ago

XinyuMeng commented 2 years ago

I am getting error while evalute kitti dataset. The error message is as follows:

File "evaluate.py", line 204, in validate_kitti(model.module) File "/home/mxy/anaconda3/envs/pytorch_gpu/lib/python3.7/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context return func(*args, **kwargs) File "evaluate.py", line 154, in validate_kitti flow_low, flow_pr = model(image1, image2, iters=iters, test_mode=True) ValueError: too many values to unpack (expected 2)

I put the datasets in this folder : /home/mxy/CODES/RAFT/datasets/KITTI ,it is organized as below: ├── KITTI ├── testing ├── training ├── devkit and I read the image data correctly.