Closed TekayaNidham closed 4 years ago
There are a few things you can do here:
Make sure you've renamed your codes pointing to the right folder names (It looks like you've done this right, but double check anyways).
Since your data-set is quite balanced, you could launch train and eval and follow it on Tensorboard. You should be checking if more than one class is being identified at the same time (from mAP).
@kyscg thank you, i did actually try every option i did even reinstall the API. HOWEVER, silly me didn't make attention while making the label map, if you look closer into the label map you'll notice that the second and third class are in the first one brackets so it got messed up. it's confusing :laughing: I corrected it and here's how it looks like:
item {
id: 1
name: 'orange'
}
item {
id: 2
name: 'tunisie_telecom'
}
item {
id: 3
name: 'ooredoo'
}
System information
Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution : Linux Ubuntu 18.04
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 1.15.0
Python version: 3.7.4
CUDA/cuDNN version: 10.2
GPU model and memory: GeForce GTX 1050
Describe the current behavior Hello, i ran a 3 classes object detection model on cloud but it only detects 1 classes it's return a good loss and mAP but only for one since i ran it on model_main so the evaluation is included, checked tensorboard everything(GT and detections) looks good but only for one class i tried swapping classes in the label map it detects only the last one,
Dataset 3 classes dataset with around 100 images per class 20 for evaluation
Data prep Annotation : using labelImg Generating csv
Generating TFRecords
Label map
Config file
from models/research i ran :
with gcp_train.yaml:
I doubled check every configurable num classes i know it's all set to 3