Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to use BING Objectness with self trained model?

Hi, I would like to use the BING Objectness feature with a custom trained model. I am aware, that it is not possible inside of OpenCV, that is why I downloaded the Linux BING Objectness code (https://github.com/torrvision/Objectness) and trained the algorithm by myself. If the training is done, the code creates the following files:

  • Filter.png
  • ObjNessB2W8MAXBGR.idx
  • ObjNessB2W8MAXBGR.wS1
  • ObjNessB2W8MAXBGR.wS2
  • ObjNessB2W8MAXBGR.xN
  • ObjNessB2W8MAXBGR.xP
  • PerImgAll.m
  • PosNeg.m
  • PosNeg.png

and the proposed windows for the test data are also generated in an additional folder "BBoxesB2W8MAXBGR" . I thought I only need to set the training path to the newly generated model files but I get an error:

Can't load model: /ObjNessB2W8MAXBGR.wS1 or /ObjNessB2W8MAXBGR.idx
Can't load model: /ObjNessB2W8HSV.wS1 or /ObjNessB2W8HSV.idx
Can't load model: /ObjNessB2W8I.wS1 or /ObjNessB2W8I.idx

Since the original code managed to create the object proposals I assume, that the model files were generated correctly. But why is OpenCV not able to read them?

Thanks a lot for any help! Mary

How to use BING Objectness with self trained model?

Hi, I would like to use the BING Objectness feature with a custom trained model. I am aware, that it is not possible inside of OpenCV, that is why I downloaded the Linux BING Objectness code (https://github.com/torrvision/Objectness) and trained the algorithm by myself. If the training is done, the code creates the following files:

  • Filter.png
  • ObjNessB2W8MAXBGR.idx
  • ObjNessB2W8MAXBGR.wS1
  • ObjNessB2W8MAXBGR.wS2
  • ObjNessB2W8MAXBGR.xN
  • ObjNessB2W8MAXBGR.xP
  • PerImgAll.m
  • PosNeg.m
  • PosNeg.png

and the proposed windows for the test data are also generated in an additional folder "BBoxesB2W8MAXBGR" . I thought I only need to set the training path to the newly generated model files but I get an error:

Can't load model: /ObjNessB2W8MAXBGR.wS1 or /ObjNessB2W8MAXBGR.idx
Can't load model: /ObjNessB2W8HSV.wS1 or /ObjNessB2W8HSV.idx
Can't load model: /ObjNessB2W8I.wS1 or /ObjNessB2W8I.idx

Since the original code managed to create the object proposals I assume, that the model files were generated correctly. But why is OpenCV not able to read them?

Thanks a lot for any help! MaryMary C:\fakepath\ObjNessB2W8MAXBGR.wS1.yml.gz.png C:\fakepath\ObjNessB2W8MAXBGR.wS1.png

How to use BING Objectness with self trained model?

Hi, I would like to use the BING Objectness feature with a custom trained model. I am aware, that it is not possible inside of OpenCV, that is why I downloaded the Linux BING Objectness code (https://github.com/torrvision/Objectness) and trained the algorithm by myself. If the training is done, the code creates the following files:

  • Filter.png
  • ObjNessB2W8MAXBGR.idx
  • ObjNessB2W8MAXBGR.wS1
  • ObjNessB2W8MAXBGR.wS2
  • ObjNessB2W8MAXBGR.xN
  • ObjNessB2W8MAXBGR.xP
  • PerImgAll.m
  • PosNeg.m
  • PosNeg.png

and the proposed windows for the test data are also generated in an additional folder "BBoxesB2W8MAXBGR" . I thought I only need to set the training path to the newly generated model files but I get an error:

Can't load model: /ObjNessB2W8MAXBGR.wS1 or /ObjNessB2W8MAXBGR.idx
Can't load model: /ObjNessB2W8HSV.wS1 or /ObjNessB2W8HSV.idx
Can't load model: /ObjNessB2W8I.wS1 or /ObjNessB2W8I.idx

Since the original code managed to create the object proposals I assume, that the model files were generated correctly. But why is OpenCV not able to read them?

Thanks a lot for any help! Mary C:\fakepath\ObjNessB2W8MAXBGR.wS1.yml.gz.png C:\fakepath\ObjNessB2W8MAXBGR.wS1.png

How to use BING Objectness with self trained model?

Hi, I would like to use the BING Objectness feature with a custom trained model. I am aware, that it is not possible inside of OpenCV, that is why I downloaded the Linux BING Objectness code (https://github.com/torrvision/Objectness) and trained the algorithm by myself. If the training is done, the code creates the following files:

  • Filter.png
  • ObjNessB2W8MAXBGR.idx
  • ObjNessB2W8MAXBGR.wS1
  • ObjNessB2W8MAXBGR.wS2
  • ObjNessB2W8MAXBGR.xN
  • ObjNessB2W8MAXBGR.xP
  • PerImgAll.m
  • PosNeg.m
  • PosNeg.png

and the proposed windows for the test data are also generated in an additional folder "BBoxesB2W8MAXBGR" . I thought I only need to set the training path to the newly generated model files but I get an error:

Can't load model: /ObjNessB2W8MAXBGR.wS1 or /ObjNessB2W8MAXBGR.idx
Can't load model: /ObjNessB2W8HSV.wS1 or /ObjNessB2W8HSV.idx
Can't load model: /ObjNessB2W8I.wS1 or /ObjNessB2W8I.idx

Since the original code managed to create the object proposals I assume, that the model files were generated correctly. But why is OpenCV not able to read them?

Thanks a lot for any help! Mary C:\fakepath\ObjNessB2W8MAXBGR.wS1.png

How to use BING Objectness with self trained model?

Hi, I would like to use the BING Objectness feature with a custom trained model. I am aware, that it is not possible inside of OpenCV, that is why I downloaded the Linux BING Objectness code (https://github.com/torrvision/Objectness) and trained the algorithm by myself. If the training is done, the code creates the following files:

  • Filter.png
  • ObjNessB2W8MAXBGR.idx
  • ObjNessB2W8MAXBGR.wS1
  • ObjNessB2W8MAXBGR.wS2
  • ObjNessB2W8MAXBGR.xN
  • ObjNessB2W8MAXBGR.xP
  • PerImgAll.m
  • PosNeg.m
  • PosNeg.png

and the proposed windows for the test data are also generated in an additional folder "BBoxesB2W8MAXBGR" . I thought I only need to set the training path to the newly generated model files but I get an error:

Can't load model: /ObjNessB2W8MAXBGR.wS1 or /ObjNessB2W8MAXBGR.idx
Can't load model: /ObjNessB2W8HSV.wS1 or /ObjNessB2W8HSV.idx
Can't load model: /ObjNessB2W8I.wS1 or /ObjNessB2W8I.idx

Since the original code managed to create the object proposals I assume, that the model files were generated correctly. But why is OpenCV not able to read them?

Thanks a lot for any help! Mary C:\fakepath\ObjNessB2W8MAXBGR.wS1.png