-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Output the testing results of many images as text file #70
Comments
Did you have a look at my code in #61... That is how I directly store the results to a csv file.... |
Thanks to michael-geoge-hart. I did the same strategy to output the result to text file or csv, but it is really messy and I dont want to alter the beautiful structure of DIGITS. Just wonder to have this feature in the next version because it is very convenient to analyse on the test dataset. On the other hand, since the list of test data is oftent quite large (mine has around 1 milion images). It would be nice if we can have a status directly on the web browser, along side with the terminal info log. Regards, |
Totally agree .... @lukeyeager has done a really good job on DIGITS in terms of clear though and design/implementation of DIGITS .... it is really not that hard to add the additional features you desired if you look at #61 |
@tmquan, so you'd like to be able to download the "Classify Many" results as a @michael-george-hart, you sound eager to help with this. If you could embed the data on the results page in the CSV format and provide a "Download Results" button that would be awesome. That would be much more user friendly than Tran's suggestion:
|
Are you talking about returning intermediate results? Or some kind of progress bar? @Sravan2j, this sounds like the kind of thing you were talking about. I agree, that would be nice. |
I will take a shot at providing the requested feature.... However, I will be very busy until this Saturday. I will get a copy of the latest master then and see what I can do over the weekend. Since I have been doing a great deal of runs batch runs of 10K to 20K images ... there is one things that would be particularly useful to me and perhaps others.... I often need know what was the best epoch is during training.... I checked the logs to see if I could discover what was the best performing epoch ... didn't see anything.... anyway most people would want to use the best epoch on their test datasets and eyeballing the graph to discover what the best epoch was after a few hundred epoch can be difficult ... so I think that would be useful information to have some place on the page or apart of the epoch list box showing not only the epoch but the performance of the particular epoch... |
Great idea, why don't you open a new issue and suggest a new feature there. Long threads get confusing. |
@lukeyeager : The reason I'd like to address this enhancement is when I pulled the newest version from master branch, it was fine to classify a million of images and return the results to the terminal. It was, however, the problem on the client browser side: can not display million lines of results and the browser was automatically killed.
|
Oh wow, so it was a request timeout? Yuck. I think the best way to solve this would be with the intermediate results / progress bar feature I mentioned earlier. Then the page can return quickly with a "0/1,300,000 images processed" page, and then slowly return the data as it comes through. That's a lot of work, and won't get implemented quickly. For now I'd suggest breaking up your huge textfile into manageable chunks. |
Or the CSV is stored in a public directory of the server and a link to it is provided. By means of a recurring AJAX call presence might be checked. Or, even simpler, the link is simply dead until the CSV is created - maybe the new predictions are appended then the link would allow for download of intermediate results. At the end of the day, those solutions would be simple to implement and already provide a convenient solution. |
Thanks to digits, the new feature of "image_classification_model_classify_many" works well.
I just wonder is there any way to retrieve that result as text file from this part, to systematically analyze the output using pandas? It would be nice if this can save the dataframe of testing images somewhere in its job's directory
The text was updated successfully, but these errors were encountered: