SortAnon / ControllableTalkNet

A web app that lets you play around with TalkNet models
GNU Affero General Public License v3.0
121 stars 48 forks source link

docker version does not work... #22

Closed snufas closed 2 years ago

snufas commented 2 years ago

Hello getting the following errors when trying to run a docker container:

root@DESKTOP-7A6UGRU:/home/snufas/github_projects/docker_talknet# docker run -it --gpus all -p 8050:8050 talknet-offline Updating TalkNet... Updating HiFi-GAN... Updating Python dependencies... ERROR: pytorch-lightning 1.7.0 has requirement tensorboard>=2.9.1, but you'll have tensorboard 2.4.1 which is incompatible. ERROR: pytorch-lightning 1.7.0 has requirement torch>=1.9., but you'll have torch 1.8.1+cu111 which is incompatible. ERROR: pytorch-lightning 1.7.0 has requirement typing-extensions>=4.0.0, but you'll have typing-extensions 3.7.4.3 which is incompatible. ERROR: tensorboard 2.9.1 has requirement protobuf<3.20,>=3.9.2, but you'll have protobuf 3.20.1 which is incompatible. ERROR: pytorch-lightning 1.7.0 has requirement torch>=1.9., but you'll have torch 1.8.1+cu111 which is incompatible. ERROR: pytorch-lightning 1.7.0 has requirement typing-extensions>=4.0.0, but you'll have typing-extensions 3.7.4.3 which is incompatible. Launching TalkNet... Traceback (most recent call last): File "talknet_offline.py", line 3, in from controllable_talknet import * File "/talknet/controllable_talknet.py", line 3, in import dash File "/usr/local/lib/python3.8/dist-packages/dash/init.py", line 5, in from .dash import Dash, no_update # noqa: F401,E402 File "/usr/local/lib/python3.8/dist-packages/dash/dash.py", line 20, in import flask File "/usr/local/lib/python3.8/dist-packages/flask/init.py", line 4, in from . import json as json File "/usr/local/lib/python3.8/dist-packages/flask/json/init.py", line 8, in from ..globals import current_app File "/usr/local/lib/python3.8/dist-packages/flask/globals.py", line 56, in app_ctx: "AppContext" = LocalProxy( # type: ignore[assignment] TypeError: init() got an unexpected keyword argument 'unbound_message'

can you ubdate the dockerfile? Thanks

SortAnon commented 2 years ago

Fixed. You shouldn't need to rebuild the image, just run it again.