Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list index out of range #4

Open
ohlselfspace opened this issue Dec 20, 2021 · 5 comments
Open

list index out of range #4

ohlselfspace opened this issue Dec 20, 2021 · 5 comments

Comments

@ohlselfspace
Copy link

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
Copy link
Owner

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
Copy link
Author

Thanks for your reply! It working successfully.

@ohlselfspace
Copy link
Author

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
Copy link
Owner

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants