flownet2-tf icon indicating copy to clipboard operation
flownet2-tf copied to clipboard

ImportError: cannot import name FlowNetC

Open long2double opened this issue 6 years ago • 0 comments

dell@dell:~/device/flownet2-tf-master$ python -m src.flownet2.test --input_a data/samples/0img0.ppm --input_b data/samples/0img1.ppm --out ./

/home/dell/anaconda2/lib/python2.7/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type. from ._conv import register_converters as _register_converters Traceback (most recent call last): File "/home/dell/anaconda2/lib/python2.7/runpy.py", line 174, in _run_module_as_main "main", fname, loader, pkg_name) File "/home/dell/anaconda2/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/home/dell/device/flownet2-tf-master/src/flownet2/test.py", line 4, in from flownet2 import FlowNet2 File "src/flownet2/flownet2.py", line 2, in from flownet_css import FlowNetCSS File "src/flownet2/flownet_css.py", line 2, in from flownet_cs import FlowNetCS File "src/flownet2/flownet_cs.py", line 2, in from flownet_c import FlowNetC ImportError: cannot import name FlowNetC

long2double avatar Aug 29 '18 05:08 long2double