MickeyZeng / Data-Visualization

The aim of this project is to develop a data (and model) visualisation tool for deep neural nets.
MIT License
3 stars 0 forks source link

[Current Task] Submit a CSV file #20

Open MickeyZeng opened 4 years ago

MickeyZeng commented 4 years ago

Add a new function to submit the csv file which must be a legal format, otherwise, the system cannot process the file in right way. After submit the file, the system can have image preview, and user can click the submit to process the current image and check if there is any differences between the result of prediction and index in CSV file or not. If there are no difference, the prediction table would have special sign for the correct prediction.

The file should contain:

  1. the URL(local address) of the image.
  2. the index(the label) of image.

Update:

MickeyZeng commented 4 years ago

The front-end send a request include the address and ground truth of image, and back-end would find this image in local computer. After all, the image will be sent to front-end to display.

MickeyZeng commented 4 years ago

There has a special situation. When the ground truth is not in the top 5 results proved by neural network, the system should have display area to let the user know what the ground truth is. @jakecastelli @MickeyZeng


This issue also includes #7

jakecastelli commented 4 years ago

TODO:

jakecastelli commented 4 years ago

For Upload_CSV, I think you did not give me the ground truth label only for the first image / the first time @MickeyZeng . Because When I was testing CSV, I found the first image always did not have label, from the second image onward then will be normal.

Update: The problem was front-end js, the first time received image blob, did not save the gt, problem solved.

MickeyZeng commented 4 years ago

There are some bugs in this process.

  1. Submit pic given by SCV would have an error about the index.
  2. Because the label in SCV is number instead of label name, so the errors are reported here.
jakecastelli commented 4 years ago

Resolved this one not issue #20