snwagh / falcon-public

Implementation of protocols in Falcon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prepare dataset wrong

Barry-ljf opened this issue · comments

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?

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?

very thanks! I have solved this problem.