WARNING: Traceback (most recent call last):


 "c:\Users\Volker\.vscode\extensions\ms-python.python-2019.9.34911\python
s\ptvsd_launcher.py", line 43, in <module>

main(ptvsdArgs)


 "c:\Users\Volker\.vscode\extensions\ms-python.python-2019.9.34911\python
s\lib\python\ptvsd\__main__.py", line 432, in main


run()


 "c:\Users\Volker\.vscode\extensions\ms-python.python-2019.9.34911\python
s\lib\python\ptvsd\__main__.py", line 316, in run_file 

runpy.run_path(target, run_name='__main__')


 "C:\Users\Volker\Anaconda3\envs\napari_new\lib\runpy.py", line 263, in run_path

pkg_name=pkg_name, script_name=fname)


 "C:\Users\Volker\Anaconda3\envs\napari_new\lib\runpy.py", line 96, in _run_module_code

mod_name, mod_spec, pkg_name, script_name)


 "C:\Users\Volker\Anaconda3\envs\napari_new\lib\runpy.py", line 85, in _run_code

exec(code, run_globals)


 "c:\Users\Volker\Dropbox\Github\NapariPlayground\Volume\show_volume.py", line 25, in <module>

viewer.add_image(vol)


 "C:\Users\Volker\Anaconda3\envs\napari_new\lib\contextlib.py", line 119, in __exit__

next(self.gen)


 "C:\Users\Volker\Anaconda3\envs\napari_new\lib\site-packages\napari\_qt\event_loop.py", line 21, in gui_qt

app.exec_()


 "C:\Users\Volker\Anaconda3\envs\napari_new\lib\site-packages\vispy\app\backends\_qt.py", line 501, in event

out = super(QtBaseCanvasBackend, self).event(ev)


 "C:\Users\Volker\Anaconda3\envs\napari_new\lib\site-packages\vispy\app\backends\_qt.py", line 818, in paintGL

self._vispy_canvas.events.draw(region=None)


 "C:\Users\Volker\Anaconda3\envs\napari_new\lib\site-packages\vispy\util\event.py", line 455, in __call__

self._invoke_callback(cb, event)


 "C:\Users\Volker\Anaconda3\envs\napari_new\lib\site-packages\vispy\util\event.py", line 475, in _invoke_callback

self, cb_event=(cb, event))

<< caught exception here: >>


 "C:\Users\Volker\Anaconda3\envs\napari_new\lib\site-packages\OpenGL\latebind.py", line 41, in __call__

return self._finalCall( *args, **named )
TypeError: 'NoneType' object is not callable

Traceback (most recent call last):


 "test_vistas_single_gpu.py", line 311, in <module>

main()


 "test_vistas_single_gpu.py", line 188, in main

probs, preds = model(img, scales, args.flip)


 "/home/mingmin/anaconda2/envs/py36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in __call__

result = self.forward(*input, **kwargs)


 "test_vistas_single_gpu.py", line 135, in forward

sem_logits = self._network(x, scale)


 "test_vistas_single_gpu.py", line 117, in _network

x_up = functional.upsample(x, size=scaled_size, mode="bilinear")


 "/home/mingmin/anaconda2/envs/py36/lib/python3.6/site-packages/torch/nn/functional.py", line 1891, in upsample

return interpolate(input, size, scale_factor, mode, align_corners)


 "/home/mingmin/anaconda2/envs/py36/lib/python3.6/site-packages/torch/nn/functional.py", line 1985, in interpolate

return torch._C._nn.upsample_bilinear2d(input, _output_size(2), align_corners)
TypeError: 'float' object cannot be interpreted as an integer
