Open manojkumar621 opened 5 years ago
I'm also experiencing this problem. Let's remember to post here if we find a solution!
Alright, friend. I'm guessing you're working on more than one GPU, yes? Like me. Set InferenceConfig like below.
class InferenceConfig(CornCobConfig):
GPU_COUNT = 1
IMAGES_PER_GPU = 1
I think this was actually what it was originally set to, but if you're anything like me, you saw GPU_COUNT and jumped the gun.
(BATCH_SIZE is defined by GPU_COUNT*IMAGES_PER_GPU, and the BATCH_SIZE referred to in the error belongs to inference_config.)
I am trying to run detection in validation dataset, I am getting the following error. AssertionError Traceback (most recent call last)