Skip to content

IndexError: list index out of range in class ImageSet #3

Answered by HowcanoeWang
Seo-4d696b75 asked this question in Q&A
Discussion options

You must be logged in to vote

Dear seo,

Thanks a lot for using this package and ask your questions.

You don't need to change any source code, the problem is caused by: the pix4d project used 266 raw images to generate the dom, however, the dome data only has 5 images in it.

>>> len(p4d.img.names) 
266
>>> len(p4d.img.img) 
5

The simplest way to fix this problem, is downloading full raw images:

https://github.com/HowcanoeWang/EasyIDP.paper/releases

https://github.com/UTokyo-FieldPhenomics-Lab/EasyIDP/releases/tag/v0.1-alpha

Only lotus_170525/photos folder is needed, you don't have to download full 12GB data.

PS: In the easyidp v2.0, you can easily access previous data by #31 :

import easyidp as idp
lotus = idp.data.L…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@UQDannySmith
Comment options

@HowcanoeWang
Comment options

Answer selected by HowcanoeWang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants