No foreground is detected when testing
See original GitHub issueHi @kbardool , Thanks for share this useful code. I train the model using command like this:
python3 train_frcnn.py -p /path/to/VOCDevkit
After training for 100 epochs, I test trained model on VOC images:
python3 test_frcnn.py -p ../VOCdevkit/VOC2012/JPEGImages
However, The output is like this:
2007_000121.jpg
Elapsed time = 0.6811630725860596
[]
After debug, I find testing images are all treated as background, i.e., the network classify them to bg
class.
Can you tell me what should I do to further solve this problem? Thanks 😃
Issue Analytics
- State:
- Created 5 years ago
- Comments:6
Top Results From Across the Web
How To Detect Android App Foreground Status - Medium
In this article, we're going to learn how to detect if the app is in the foreground or background. Along with that, we'll...
Read more >check android application is in foreground or not? [duplicate]
I don't understand what you want, but You can detect currently foreground/background application with ActivityManager.
Read more >Foreground services - Android Developers
A music player app that plays music in a foreground service. The notification might show the current song that is being played. ·...
Read more >Testing When Mobile Apps Go to Background and Come Back ...
This is not detected by the iMPAcT tool because it does not close the app and opens the app again when it tests...
Read more >Foreground detection - Wikipedia
Foreground detection is one of the major tasks in the field of computer vision and image processing whose aim is to detect changes...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @Arham-Aalam, I finally figure out I got this exception because I changed default settings in
keras_frcnn/config.py
. When I reset the default settings and train after 100 epochs, I got output finally. Before that, only background is outputed. You can try to train more epochs and see if everything is okay. I have trained almost 1000 epochs and I plan to share the checkpoints in the future.I think there are some solution to your situation:
Solution 3 need more understanding of details of code in this project, Solution 4 need more knowledge about network pruning.
Since discussion going on here is no relations with original issue, so I will close this issue and any further disscussion should be opened in a new place.