Open moonplay85 opened 4 years ago
Hi, Not sure whether you have done this or not. But you need to specify number of classes in the config class.
NUM_CLASSES = 1 + n (no of classes) # Background + class1+ class2+ and so on....
You can refer to the "shapes.py" sample example in the same folder. Feel free to post if it doesn't help.
cheers.
I have put 1+6 classes as NUM_CLASSES, but I am getting the error :
ValueError: Error when checking input: expected input_image_meta to have shape (None, 19) but got array with shape (1, 18)
TensorFlow 2.2 cuda 10.1 keras 2.3.1
I am going to multi-class using a balloon file. For 1 class, there is no problem. However, there is a problem when trying to detect more than two multi class. If you have any code with multi-class or any part that needs to be modified, please let me know. The modified part is as follows.
class levelDataset(utils.Dataset):