-
Notifications
You must be signed in to change notification settings - Fork 197
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
How to train using Yahoo or reCaptcha? #5
Comments
Hi Yeguixin,
This means run.py cannot access testing samples. I can reproduce your error by removing folders 0/1/2.. from /testing of the provided MNIST dataset. Therefore, it may be the folder structure, as line 133
.. inside data/MNIST folder. This git was made to work with MNIST at first so you have to modify the file(s) yourself if you want to run other datasets. A simple command won't do it in this case. |
I know, you mean you only published the code to recognize MNIST? But I want to konw how to train and test the Yahoo or reCaptcha using the dataset you provided in your paper. Thanks. |
Hi Yeguixin, Sorry, but, just to clarify, it wasn't I who published the code/research. I just meant to help by what I could see in the code directly (run.py, line 2):
I'm afraid I can't provide a better answer than that so you could wait for an official reply from the devs. Thanks. |
I see. Thanks |
@yeguixin Have you successfully applied it to the traning and testing in the reCaptcha dataset? if so, could you share you codes with me? |
anyone succeed ? |
did anyone got it ?? |
I tried to using the program to train using Yahoo's data provided in your blog, but failed to print the following error message:
INFO:main:Training on 124 images...
INFO:main:Testing on 0 images...
Traceback (most recent call last):
File "science_rcn/run.py", line 230, in
parallel=options.parallel)
File "science_rcn/run.py", line 95, in run_experiment
print "Total test accuracy = {}".format(float(correct) / len(test_results))
ZeroDivisionError: float division by zero
We used the following commond:
python science_rcn/run.py --train_size 20 --test_size 20 --parallel
Thanks
The text was updated successfully, but these errors were encountered: