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

Prepare dataset wrong #37

Closed
Barry-ljf opened this issue May 14, 2022 · 2 comments
Closed

Prepare dataset wrong #37

Barry-ljf opened this issue May 14, 2022 · 2 comments

Comments

@Barry-ljf
Copy link

hello ,I have put the .csv file into the ~/Downloads/mnist_train/ and ~/Downloads/mnist_test/ . when I bash the run.sh, I cannot generate the right datase and the output file TRAINING_DATA_A is all 0. I don't know where is wrong?

@snwagh
Copy link
Owner

snwagh commented May 15, 2022

It might be an issue with the files. Usually, if you pass the script a wrong location (such as a file or folder that doesn't exist), then it will end up loading all zeros.

I think specific to your case, run.sh is expecting the file to be called mnist_train and be located in the folder ~/Downloads/ but you're actual path to the files is ~/Downloads/mnist_train/<name of training file>. That might be the issue, can you try moving the files appropriately (both train and test) and see if it works?

@Barry-ljf
Copy link
Author

Barry-ljf commented May 15, 2022

very thanks! I have solved this problem.

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

No branches or pull requests

2 participants