CloserLookFewShot
CloserLookFewShot copied to clipboard
There is an error in the code that generates the json file in ./filelists/miniImagenet .
Did you use original ImageNet? Or did you download the miniImageNet in the link provided in #22 ? It seems that if I download the miniImagenet, then I encounter the same error as yours.
There are some minor problems in the program, you try 2.txt and replace the miniImagenet directory.
I downloaded the miniImageNet from #22 too and getting the same issue.
for the above issue, if you downloaded the miniImagenet file from #29 and download the .csv from #22 , here is what I do: I modified the write_miniImagenet_filelist.py and write_cross_filelist.py, link here:
it seems the issue could be fixed by the above code.
note: should preprocess the downloaded miniImagenet by the GitHub repository given by #29 (run scripts/prepare_mini_imagenet.py
), and then execute the modified python file above.