EscVM / OIDv4_ToolKit

Download and visualize single or multiple classes from the huge Open Images v4 dataset
GNU General Public License v3.0
798 stars 633 forks source link

V6 update #89

Open nodiz opened 3 years ago

nodiz commented 3 years ago

Hello,

congrats for the hard work of creating this.

Is the downloader updated to the most recent v6?

edwardnguyen1705 commented 3 years ago

Hi @nodiz , Any progress on this?

laiyuekiu commented 3 years ago

Hi,

You can follow these steps to use OID v6 image, it works for me !

  1. https://storage.googleapis.com/openimages/web/download.html
  2. Click "V6" button in the first line and then scroll down to "Download the annotations and metadata" and click "Train" button to download train csv file in "Boxes" row
  3. After downloading, put the oidv6-train-annotations-bbox.csv into YOURPATH/OIDv4_ToolKit/OID/csv_folder
  4. Change the name of oidv6-train-annotations-bbox.csv to train-annotations-bbox.csv (this is for main.py easier look up, you can edit the code in main.py if you don't want to rename the csv file)
  5. Use the same command as usual

You can try it~

shukkkur commented 1 year ago

Thanks @laiyuekiu ! In my case, I had to add slight modifications in order to make the above suggestion work:

  1. Downloaded the Train file
  2. After the last push to the repo, folder OIDv4_ToolKit/OID/csv_folder doesn't exist and gets added after calling the downloader. Therefore, to create the folder I ran
  3. python main.py downloader --classes Volleyball --type_csv train --limit 5
  4. Then, I performed the 4th step from @laiyuekiu guide, meaning added the downloaded .csv file into the csv_folder and renamed it.
  5. Also, I downloaded the new class names filed from here https://storage.googleapis.com/openimages/web/factsfigures.html and also added it to csv_folder (replace)
  6. Finally, I ran: python main.py downloader --classes "Volleyball (Ball)" --type_csv train (In V6 class name for Volleyball has been changed)
francisrod01 commented 1 year ago

It keeps not working. I'm still seeing " killed" in my terminal.