You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
I am trying to run your code using Python 3 and have obviously run into errors.
Could you please outline the correct steps that would be required to run this repo with python 3.
For your reference, this is the error I run into:
CUDA_VISIBLE_DEVICES=1 python dataset_leakage.py --num_epochs 100 --learning_rate 0.00005 --batch_size 16 --num_rounds 5 --no_image
Traceback (most recent call last):
File "dataset_leakage.py", line 26, in
from data_loader import CocoObjectGender
File "/home/yash/Documents/Balanced-Datasets-Are-Not-Enough/object_multilabel/data_loader.py", line 7, in
from pycocotools.coco import COCO
File "/home/yash/Documents/Balanced-Datasets-Are-Not-Enough/object_multilabel/pycocotools/coco.py", line 55, in
from . import mask as maskUtils
File "/home/yash/Documents/Balanced-Datasets-Are-Not-Enough/object_multilabel/pycocotools/mask.py", line 3, in
import pycocotools._mask as _mask
ImportError: No module named 'pycocotools._mask'
The text was updated successfully, but these errors were encountered:
Hey,
I am trying to run your code using Python 3 and have obviously run into errors.
Could you please outline the correct steps that would be required to run this repo with python 3.
For your reference, this is the error I run into:
CUDA_VISIBLE_DEVICES=1 python dataset_leakage.py --num_epochs 100 --learning_rate 0.00005 --batch_size 16 --num_rounds 5 --no_image
Traceback (most recent call last):
File "dataset_leakage.py", line 26, in
from data_loader import CocoObjectGender
File "/home/yash/Documents/Balanced-Datasets-Are-Not-Enough/object_multilabel/data_loader.py", line 7, in
from pycocotools.coco import COCO
File "/home/yash/Documents/Balanced-Datasets-Are-Not-Enough/object_multilabel/pycocotools/coco.py", line 55, in
from . import mask as maskUtils
File "/home/yash/Documents/Balanced-Datasets-Are-Not-Enough/object_multilabel/pycocotools/mask.py", line 3, in
import pycocotools._mask as _mask
ImportError: No module named 'pycocotools._mask'
The text was updated successfully, but these errors were encountered: