Traceback (most recent call last):


 "trainval_net.py", line 27, in <module>

from roi_data_layer.roidb import combined_roidb


 "/home/sxs/yuhsuan/faster-rcnn.pytorch/lib/roi_data_layer/roidb.py", line 9, in <module>

from datasets.factory import get_imdb


 "/home/sxs/yuhsuan/faster-rcnn.pytorch/lib/datasets/factory.py", line 16, in <module>

from datasets.coco import coco


 "/home/sxs/yuhsuan/faster-rcnn.pytorch/lib/datasets/coco.py", line 23, in <module>

from pycocotools.coco import COCO


 "/home/sxs/yuhsuan/faster-rcnn.pytorch/lib/pycocotools/coco.py", line 60, in <module>

from . import mask


 "/home/sxs/yuhsuan/faster-rcnn.pytorch/lib/pycocotools/mask.py", line 8, in <module>

import _mask


 "/home/sxs/anaconda3/envs/test1/lib/python2.7/site-packages/pyximport/pyximport.py", line 462, in load_module

language_level=self.language_level)


 "/home/sxs/anaconda3/envs/test1/lib/python2.7/site-packages/pyximport/pyximport.py", line 233, in load_module

exec("raise exc, None, tb", {'exc': exc, 'tb': tb})


 "/home/sxs/anaconda3/envs/test1/lib/python2.7/site-packages/pyximport/pyximport.py", line 215, in load_module

inplace=build_inplace, language_level=language_level)


 "/home/sxs/anaconda3/envs/test1/lib/python2.7/site-packages/pyximport/pyximport.py", line 191, in build_module

reload_support=pyxargs.reload_support)


 "/home/sxs/anaconda3/envs/test1/lib/python2.7/site-packages/pyximport/pyxbuild.py", line 102, in pyx_to_dll

dist.run_commands()


 "/home/sxs/anaconda3/envs/test1/lib/python2.7/distutils/dist.py", line 953, in run_commands

self.run_command(cmd)


 "/home/sxs/anaconda3/envs/test1/lib/python2.7/distutils/dist.py", line 972, in run_command

cmd_obj.run()


 "/home/sxs/anaconda3/envs/test1/lib/python2.7/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run

_build_ext.build_ext.run(self)


 "/home/sxs/anaconda3/envs/test1/lib/python2.7/distutils/command/build_ext.py", line 340, in run

self.build_extensions()


 "/home/sxs/anaconda3/envs/test1/lib/python2.7/site-packages/Cython/Distutils/old_build_ext.py", line 194, in build_extensions

self.build_extension(ext)


 "/home/sxs/anaconda3/envs/test1/lib/python2.7/distutils/command/build_ext.py", line 499, in build_extension

depends=ext.depends)


 "/home/sxs/anaconda3/envs/test1/lib/python2.7/distutils/ccompiler.py", line 574, in compile

self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)


 "/home/sxs/anaconda3/envs/test1/lib/python2.7/distutils/unixccompiler.py", line 124, in _compile

raise CompileError, msg
ImportError: Building module pycocotools._mask failed: ["CompileError: command 'gcc' failed with exit status 1\n"]

Traceback (most recent call last):


 "hub-stock-data.py", line 33, in <module>

ds2 = ds.store(tag)


 "/home/hemant/anaconda3/lib/python3.7/site-packages/hub/compute/transform.py", line 342, in store

n_samples = get_sample_size(self.schema, self.workers)


 "/home/hemant/anaconda3/lib/python3.7/site-packages/hub/compute/transform.py", line 40, in get_sample_size

samples = min(samples, (16 * 1024 * 1024 * 8) // (prod(shp) * sz))


 "/home/hemant/anaconda3/lib/python3.7/site-packages/hub/compute/transform.py", line 37, in prod

res *= s
TypeError: unsupported operand type(s) for *=: 'int' and 'NoneType'
