WARNING: /home/henrik/projects/pyvista/examples/00-load/read-file.py failed to execute correctly: Traceback (most recent call last):


 "/home/henrik/.local/anaconda2/envs/surface/lib/python3.7/site-packages/sphinx_gallery/gen_rst.py", line 394, in _memory_usage

out = func()


 "/home/henrik/.local/anaconda2/envs/surface/lib/python3.7/site-packages/sphinx_gallery/gen_rst.py", line 382, in __call__

exec(self.code, self.globals)


 "/home/henrik/projects/pyvista/examples/00-load/read-file.py", line 74, in <module>

mesh = examples.download_doorman()


 "/home/henrik/projects/vtki/pyvista/examples/downloads.py", line 241, in download_doorman

return _download_and_read('doorman/doorman.obj')


 "/home/henrik/projects/vtki/pyvista/examples/downloads.py", line 58, in _download_and_read

return pyvista.read(saved_file)


 "/home/henrik/projects/vtki/pyvista/readers.py", line 166, in read

return pyvista.PolyData(filename)


 "/home/henrik/projects/vtki/pyvista/pointset.py", line 76, in __init__

self._load_file(args[0])


 "/home/henrik/projects/vtki/pyvista/pointset.py", line 151, in _load_file

if not np.any(self.points):


 "/home/henrik/projects/vtki/pyvista/common.py", line 125, in points

vtk_data = self.GetPoints().GetData()
AttributeError: 'NoneType' object has no attribute 'GetData'

Traceback (most recent call last):


 "gen.py", line 140, in <module>

main(args.viz)


 "gen.py", line 95, in main

RV3 = RendererV3(DATA_PATH,max_time=SECS_PER_IMG)


 "D:\detection\SynthText-master\synthgen.py", line 369, in __init__

self.colorizer = Colorize(data_dir)


 "D:\detection\SynthText-master\colorize3_poisson.py", line 145, in __init__

self.font_color = FontColor(col_file=osp.join(model_dir,'models/colors_new.cp'))


 "D:\detection\SynthText-master\colorize3_poisson.py", line 54, in __init__

self.colorsLAB = np.squeeze(cv.cvtColor(self.colorsLAB[None,:,:],cv.cv.CV_RGB2Lab))
AttributeError: 'module' object has no attribute 'cv'