I have added mscoco.py from the project that you did suggest.
I guess the problem below arises because of the incompatibility between python's version and pycocotools. Is there any suggestion to modify the code? thanks in advance.
train set
loading annotations into memory...
Done (t=0.89s)
creating index...
index created!
Traceback (most recent call last):
File "train.py", line 291, in
trainer = Trainer(args)
File "train.py", line 106, in init
args.iters_per_epoch = len(trainset) // (args.num_gpus * args.batch_size)
TypeError: object of type 'COCOSegmentation' has no len()
I have added mscoco.py from the project that you did suggest.
I guess the problem below arises because of the incompatibility between python's version and pycocotools. Is there any suggestion to modify the code? thanks in advance.
train set loading annotations into memory... Done (t=0.89s) creating index... index created! Traceback (most recent call last): File "train.py", line 291, in
trainer = Trainer(args)
File "train.py", line 106, in init
args.iters_per_epoch = len(trainset) // (args.num_gpus * args.batch_size)
TypeError: object of type 'COCOSegmentation' has no len()