Traceback (most recent call last):
File "demo.py", line 10, in <module>
opt = ValOptions().parse()
File "/content/Global-Flow-Local-Attention/options/base_options.py", line 74, in parse
opt = self.gather_options()
File "/content/Global-Flow-Local-Attention/options/base_options.py", line 60, in gather_options
model_option_set = model.get_option_setter(opt.model)
File "/content/Global-Flow-Local-Attention/model/__init__.py", line 25, in get_option_setter
model = find_model_using_name(model_name)
File "/content/Global-Flow-Local-Attention/model/__init__.py", line 10, in find_model_using_name
modellib = importlib.import_module(model_file_name)
File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/content/Global-Flow-Local-Attention/model/dance_model.py", line 5, in <module>
from util import task, util, openpose_utils
File "/content/Global-Flow-Local-Attention/util/openpose_utils.py", line 3, in <module>
from skimage.draw import disk, line_aa, polygon, circle_perimeter_aa
ImportError: cannot import name 'disk'
for the fashion animation model:
We get the following error:
see https://github.com/scikit-image/scikit-image/issues/4504, where
disk
was introduced in v0.17; before that it was calledcircle
.Indeed in the
requirements.txt
filesklearn-image
did not specify the version. Checking the installation log, we gotconfirming it's
v0.16.2
, <0.17