trainingData from objectDetectorTrainingData
显示 更早的评论
I am running:
trainingData = objectDetectorTrainingData(gTruth)
My gTruth file is generated from video, via the Matlab Video Labeler APP. When I run this command, I get a trainingData table and it then writes images to file from the video for each frame. My question is, can you run this command to get the trainingData table without writing the images to file? My reasoning is that I recently found a bug in some code that generate label txt files from the trainingData table. I need to go back through and run my code on the trainingData tables again but to get the trainingData tables again, i need to run the objectDetectTrainingData command. My previous images are fine so i dont need to regenerate them. I just need the trainingData table. It wouldn't be that big of a deal but my gTruth files exports roughly 20,000 images. So not only does it take forever to run the command, it eats up space during the process. So, is there any way to get the trainingData table without generating the images? Thanks in advance!
回答(1 个)
Sai Bhargav Avula
2019-7-31
0 个投票
In the objectDetectorTrainingData function, the WriteLocation argument is by default set to pwd and in the present release it cannot be disabled. Hence it always writes the images while creating the training data table.
4 个评论
Derrick Bennett
2019-7-31
Sai Bhargav Avula
2019-8-1
编辑:Sai Bhargav Avula
2019-8-1
As of now, current version doesn't have that feature and I have informed the same with the concerned team. Coming to the out of memory problem you can try to reduce the memory requirement of the code. You can try processing the images in batches than everything at once. One other option would be using the uint8 instead of double for your images.
You can also try allocating more java heap memory to MATLAB.
For this go to : Preferences (in the Matlab tab "Home") --> General --> Java Heap Memory
Hope this helps !
Derrick Bennett
2019-8-5
Hamza Afzal
2021-1-31
Is there a way to label 1 lakh images of different vehicles with 11 categories on Image labeller app?
Because labelling 1lakh images takes too much time manually by drawing bounding boxes,
Because for further progress groundtruthdata is required.
Thankyou
类别
在 帮助中心 和 File Exchange 中查找有关 Ground Truth Labeling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!