Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile is ready. #47

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Dockerfile is ready. #47

wants to merge 2 commits into from

Conversation

A-Yaghoubian
Copy link

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.

@sunzongzheng
Copy link

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants