ancasag / ensembleObjectDetection

MIT License
156 stars 30 forks source link

Google Colab notebook ensembleModel.ipynb has multiple errors #18

Open matt-sharp opened 3 years ago

matt-sharp commented 3 years ago

It seems like there are multiple issues causing errors when trying to run the Google Colab notebook demo.

  1. Only 2 out of the 6 different models defined in the list are cloned into the Colab instance (retinaResnet50 and maskRcnn)
  2. testTimeAugmentation contains an additional parameter (confidence)
  3. models should include the confidence parameter
  4. Annotation files are missing: FileNotFoundError: [Errno 2] No such file or directory: 'salida/mask_rcnn_coco/2007_000032.xml'

Please can these be fixed so that the notebook can be run without the need to make any changes? thanks!

ancasag commented 3 years ago

Hello again,

We have fixed the issues that you reported here, and the notebooks work properly now.

Thanks a lot for reporting these issues.

Let us know if you have any further problem.

Best, Ángela


De: Matthew Sharp @.> Enviado: viernes, 19 de febrero de 2021 18:31 Para: ancasag/ensembleObjectDetection @.> Cc: Subscribed @.***> Asunto: [ancasag/ensembleObjectDetection] Google Colab notebook ensembleModel.ipynb has multiple errors (#18)

It seems like there are multiple issues causing errors when trying to run the Google Colab notebook demo.

  1. Only 2 out of the 6 different models defined in the list are cloned into the Colab instance (retinaResnet50 and maskRcnn)
  2. testTimeAugmentation contains an additional parameter (confidence)
  3. models should include the confidence parameter
  4. Annotation files are missing: FileNotFoundError: [Errno 2] No such file or directory: 'salida/mask_rcnn_coco/2007_000032.xml'

Please can these be fixed so that the notebook can be run without the need to make any changes? thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/ancasag/ensembleObjectDetection/issues/18, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AH7ZO3CYY5M7ZYT7PFC2DBTS72OARANCNFSM4X4X4LCA.

Sauce16 commented 1 year ago

@matt-sharp & @ancasag Can you please help me with this When I run the cell models(listaModels,pathImg,option) I get this error.--------------------------------------------------------------------------- FileExistsError Traceback (most recent call last) in <cell line: 1>() ----> 1 models(listaModels,pathImg,option)

/content/ensembleObjectDetection/TestTimeAugmentation/mainModel.py in models(listaModels, pathImg, option) 12 os.mkdir(pathImg+'/../salida') 13 for model in listaModels: ---> 14 os.mkdir(pathImg+'/../salida/'+os.path.splitext(os.path.basename(model.pathPesos))[0]) 15 16 # 2. We create a list with the folders we have created

FileExistsError: [Errno 17] File exists: '/content/datasets/IMDB-6/test/images//../salida/best'