Open
Conversation
|
I encountered this error when using dockerfile $ python main.py --im_path1 90.png --im_path2 15.png --im_path3 117.png --sign realistic --smooth 5
Traceback (most recent call last):
File "main.py", line 13, in <module>
from models.Embedding import Embedding
File "/workspace/models/Embedding.py", line 9, in <module>
from losses.embedding_loss import EmbeddingLossBuilder
File "/workspace/losses/embedding_loss.py", line 2, in <module>
from losses import lpips
File "/workspace/losses/lpips/__init__.py", line 7, in <module>
from skimage.metrics import structural_similarity
File "/opt/conda/lib/python3.8/site-packages/skimage/__init__.py", line 141, in <module>
from .data import data_dir
File "<frozen importlib._bootstrap>", line 1039, in _handle_fromlist
File "/opt/conda/lib/python3.8/site-packages/lazy_loader/__init__.py", line 76, in __getattr__
submod = importlib.import_module(submod_path)
File "/opt/conda/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/opt/conda/lib/python3.8/site-packages/skimage/data/_fetchers.py", line 127, in <module>
_image_fetcher, data_dir = _create_image_fetcher()
File "/opt/conda/lib/python3.8/site-packages/skimage/data/_fetchers.py", line 103, in _create_image_fetcher
image_fetcher = pooch.create(
TypeError: create() got an unexpected keyword argument 'retry_if_failed' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi, Good time.
I wrote the Dockerfile and we can use docker for this repository now.
Also, I changed README.md and added docker build and docker run command.