-
Notifications
You must be signed in to change notification settings - Fork 101
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
Index Error while training #29
Comments
Hi, Thanks for using our code. Are you using the LMDB files we provide? I am afraid those may need to be updated. I will check that this is not the issue. Best, |
I had the same problem. |
Hi, Checked! You need to create again the LMDBs (using mk_dataset.py). I'll try to update the current ones we provide. Best, |
@jmarintur is this also the case for the recipe1M dataset? I am using the pre-trained lmdb files. Will these work without any change to the code when I use recipe1M? (asking as the recipe1M dataset spawns a train, test, val folder as opposed to the recipe1M+ images which do not spawn any such folders). |
Hello
I am getting the following error while training :
File "/data/home/ameen.ali/food/im2recipe-Pytorch/data_loader.py", line 103, in __getitem__ path = os.path.join(self.imgPath, loader_path, imgs[imgIdx]['id']) IndexError: list index out of range
ANy idea what is the problem ?
The text was updated successfully, but these errors were encountered: