数据集必须放在指定路径吗?
YiDanCheung opened this issue · 0 comments
YiDanCheung commented
您好,我的问题是:
当我运行examples/image_classification
文件夹下的maml_image_classification.py
,终端提示说:
RuntimeError: Data files not found. Please download our mini-ImageNet file manually from
https://drive.google.com/file/d/1LLUjwSUpWGSWizl3JZxd08V30_dIaRBx/view
and place the .tar.gz file under 'root' which you can set, or under default root:/root/miniconda3/lib/python3.8/site-packages/paddlefsl-1.1.0-py3.8.egg/raw_data
所以我下载了该文件并放置在/root/FSL-Mate/PaddleFSL/raw_data
文件夹下,接下来该怎么运行呢?
(使用python maml_image_classification.py --root='/root/FSL-Mate/PaddleFSL/raw_data'
没有起作用;修改源文件autodl-tmp/FSL-Mate/PaddleFSL/paddlefsl/datasets/mini_imagenet.py
,将__init__
函数中的root=None
改为root='/root/FSL-Mate/PaddleFSL/raw_data'
也没有起作用:shipit:)