nie-lang / DeepImageStitching-1.0

JVCIR2020 - A view-free image stitching network based on global homography
97 stars 9 forks source link

list index out of range #4

Open ohlselfspace opened 2 years ago

ohlselfspace commented 2 years ago

Hello, thanks for your code! I modified the utils function according to your requirements under Windows OS, but it shows "list index out of range"? For Dataset_gen/ dataset.py is OK. image

Looking forward to your reply.

nie-lang commented 2 years ago

Line 120 of the util.py file should also be modified. Thanks for your issue. I've modified the details in windows OS in readme.md .

ohlselfspace commented 2 years ago

Thanks for your reply! It working successfully.

ohlselfspace commented 2 years ago

Hi, I found that the production of the test set is like distorting one picture, and getting two pictures with different perspectives. If I want to input pictures A and B (different viewing angles, solve the homography matrix), get the registered picture,is that ok?

nie-lang commented 2 years ago

Hi, I found that the production of the test set is like distorting one picture, and getting two pictures with different perspectives. If I want to input pictures A and B (different viewing angles, solve the homography matrix), get the registered picture,is that ok?

The proposed dataset is a synthetic dataset that neglects the parallax. Specifically, all the objects in the synthetic dataset are assumed at the same depth. Therefore, it can not be well generalized in real scenes with parallax. If your input images are shot from the same virtual center (pure rotation shooting), it can still work. If not, the performance will be degraded to some extent.

cy18269819757 commented 2 years ago

Hello, thanks for your code! I modified the utils function according to your requirements under Windows OS, but it shows "list index out of range"? For Dataset_gen/ dataset.py is OK. python train_H.py --train_folder ../../dataset/training --test_folder ../../dataset/testing --summary_dir ../summary/homography --snapshot_dir ../checkpoints/homography --gpu 0 --batch 4 --iters 600000 There are the following problems. As a beginner, I don't know what to do Snipaste_2022-03-14_21-43-30 Snipaste_2022-03-14_21-43-54