简体   繁体   中英

How to use OpenImages dataset to train binary model in Keras

I am trying to use the Open Images dataset to train a binary CNN model (Orange vs. Not Orange). I use the OID v4 toolkit to download images of few classes both in train and test. Now I'm stuck with how to conert the multiclass shape in each directory to a binary. I believe I need some tool to change the subfolders (=classes) name.

I've succeeded using os and shutil packages to manipulate the directories as requested. TXS.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM