vanvalenlab / kiosk-frontend

DeepCell web application built using NodeJS, Express, React, and Webpack.
Other
1 stars 0 forks source link

Predicting on a folder of images doesn't work #119

Closed ngreenwald closed 4 years ago

ngreenwald commented 4 years ago

I submitted a folder with two images inside. However, the returned prediction was just a single prediction corresponding to the second image in the folder.

willgraf commented 4 years ago

Only single file uploads are supported.

When using the file browser, selecting a folder is disallowed. However, when using the "drag and drop" dropzone functionality, it allows the user to "upload" a folder though it only selects the first file in the folder.

willgraf commented 4 years ago

Looks like we can just check if there were more than a single dropped file, and throw an error.

Screen Shot 2020-07-23 at 2 18 27 PM

Any thoughts on the error message @ngreenwald ?

ngreenwald commented 4 years ago

Yeah I think that looks great!