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

Fix train-dataset extraction path #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rajivbishwokarma
Copy link

I encountered an error while executing the set_the_CATSvsDOGS_prj.py script after placing the kaggle-cats-vs-dogs.zip file inside the files directory.

The following error appears:
(vitis-ai-caffe) Vitis-AI /workspace/tutorials/VAI-Caffe-ML-CATSvsDOGS/files > python set_the_CATSvsDOGS_prj.py -i $ML_DIR Archive: kaggle_dogs_vs_cats.zip inflating: /workspace/tutorials/VAI-Caffe-ML-CATSvsDOGS/files/input/sampleSubmission.csv inflating: /workspace/tutorials/VAI-Caffe-ML-CATSvsDOGS/files/input/test1.zip inflating: /workspace/tutorials/VAI-Caffe-ML-CATSvsDOGS/files/input/train.zip mv: cannot stat '/workspace/tutorials/VAI-Caffe-ML-CATSvsDOGS/files/input/kaggle_dogs_vs_cats/train': No such file or directory rm: cannot remove '/workspace/tutorials/VAI-Caffe-ML-CATSvsDOGS/files/input/kaggle_dogs_vs_cats': No such file or directory Traceback (most recent call last): File "set_the_CATSvsDOGS_prj.py", line 79, in <module> os.mkdir(path_root + "/input/jpg/cats") FileNotFoundError: [Errno 2] No such file or directory: '/workspace/tutorials/VAI-Caffe-ML-CATSvsDOGS/files/input/jpg/cats'

I have added few lines to extract the train.zip in the /input/kaggle_dogs_vs_cats/train directory.

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

Successfully merging this pull request may close these issues.

1 participant