Launching Your Gradio Interface
Logs will appear below. May take up to a minute to initialize. For questions, email support@gradio.app
Starting --------------- Cloning repo. Creating image... Step 1/9 : FROM python:3.7-slim ---> ea12296513d7 Step 2/9 : RUN apt-get update && apt-get upgrade -y && apt-get install -y git wget unzip openssh-client nano bzip2 ca-certificates curl && apt-get install -y gcc libopenblas-dev && apt-get install -y libglib2.0-0 libsm6 libsndfile1-dev libxext6 libxrender-dev libgl1-mesa-glx ffmpeg && apt-get install -y gcc python3-dev python3-pip libxml2-dev libxslt1-dev zlib1g-dev g++ ---> Using cache ---> 6e0ea1162f84 Step 3/9 : COPY ./ /app ---> 73cac2602fda Step 4/9 : WORKDIR /app ---> Running in 540a07d555a3 ---> d9cbdad93536 Step 5/9 : RUN pip install -r requirements.txt ---> Running in 2085840ff45d Collecting torch~=1.7.1 Downloading torch-1.7.1-cp37-cp37m-manylinux1_x86_64.whl (776.8 MB) Collecting torchtext~=0.8.1 Downloading torchtext-0.8.1-cp37-cp37m-manylinux1_x86_64.whl (7.0 MB) Collecting torchvision~=0.8.2 Downloading torchvision-0.8.2-cp37-cp37m-manylinux1_x86_64.whl (12.8 MB) Collecting pillow>=4.1.1 Downloading Pillow-8.2.0-cp37-cp37m-manylinux1_x86_64.whl (3.0 MB) Collecting av Downloading av-8.0.3-cp37-cp37m-manylinux2010_x86_64.whl (37.2 MB) Collecting gradio Downloading gradio-2.0.9-py3-none-any.whl (1.6 MB) Collecting Flask>=1.1.1 Downloading Flask-2.0.1-py3-none-any.whl (94 kB) Collecting click>=7.1.2 Downloading click-8.0.1-py3-none-any.whl (97 kB) Collecting Flask-Cors>=3.0.8 Downloading Flask_Cors-3.0.10-py2.py3-none-any.whl (14 kB) Collecting itsdangerous>=2.0 Downloading itsdangerous-2.0.1-py3-none-any.whl (18 kB) Collecting Jinja2>=3.0 Downloading Jinja2-3.0.1-py3-none-any.whl (133 kB) Collecting MarkupSafe>=2.0 Downloading MarkupSafe-2.0.1-cp37-cp37m-manylinux2010_x86_64.whl (31 kB) Collecting Werkzeug>=2.0 Downloading Werkzeug-2.0.1-py3-none-any.whl (288 kB) Collecting h5py Downloading h5py-3.3.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (4.1 MB) Collecting numpy Downloading numpy-1.21.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (15.7 MB) Collecting imageio Downloading imageio-2.9.0-py3-none-any.whl (3.3 MB) Collecting moviepy Downloading moviepy-1.0.3.tar.gz (388 kB) Collecting requests Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB) Collecting tqdm Downloading tqdm-4.61.1-py2.py3-none-any.whl (75 kB) Collecting certifi>=2017.4.17 Downloading certifi-2021.5.30-py2.py3-none-any.whl (145 kB) Collecting chardet<5,>=3.0.2 Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB) Collecting decorator<5.0,>=4.0.2 Downloading decorator-4.4.2-py2.py3-none-any.whl (9.2 kB) Collecting idna<3,>=2.5 Downloading idna-2.10-py2.py3-none-any.whl (58 kB) Collecting imageio_ffmpeg>=0.2.0 Downloading imageio_ffmpeg-0.4.4-py3-none-manylinux2010_x86_64.whl (26.9 MB) Collecting proglog<=1.0.0 Downloading proglog-0.1.9.tar.gz (10 kB) Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.6-py2.py3-none-any.whl (138 kB) Collecting pytorch_lightning Downloading pytorch_lightning-1.3.7.post0-py3-none-any.whl (810 kB) Collecting pyDeprecate==0.3.0 Downloading pyDeprecate-0.3.0-py3-none-any.whl (10 kB) Collecting fsspec[http]!=2021.06.0,>=2021.05.0 Downloading fsspec-2021.6.1-py3-none-any.whl (115 kB) Collecting future>=0.17.1 Downloading future-0.18.2.tar.gz (829 kB) Collecting PyYAML<=5.4.1,>=5.1 Downloading PyYAML-5.4.1-cp37-cp37m-manylinux1_x86_64.whl (636 kB) Collecting tensorboard!=2.5.0,>=2.2.0 Downloading tensorboard-2.4.1-py3-none-any.whl (10.6 MB) Requirement already satisfied: wheel>=0.26 in /usr/local/lib/python3.7/site-packages (from tensorboard!=2.5.0,>=2.2.0->pytorch_lightning->-r requirements.txt (line 7)) (0.36.2) Requirement already satisfied: setuptools>=41.0.0 in /usr/local/lib/python3.7/site-packages (from tensorboard!=2.5.0,>=2.2.0->pytorch_lightning->-r requirements.txt (line 7)) (51.0.0) Collecting absl-py>=0.4 Downloading absl_py-0.13.0-py3-none-any.whl (132 kB) Collecting google-auth<2,>=1.6.3 Downloading google_auth-1.32.0-py2.py3-none-any.whl (147 kB) Collecting cachetools<5.0,>=2.0.0 Downloading cachetools-4.2.2-py3-none-any.whl (11 kB) Collecting google-auth-oauthlib<0.5,>=0.4.1 Downloading google_auth_oauthlib-0.4.4-py2.py3-none-any.whl (18 kB) Collecting grpcio>=1.24.3 Downloading grpcio-1.38.1-cp37-cp37m-manylinux2014_x86_64.whl (4.2 MB) Collecting markdown>=2.6.8 Downloading Markdown-3.3.4-py3-none-any.whl (97 kB) Collecting protobuf>=3.6.0 Downloading protobuf-3.17.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.0 MB) Collecting pyasn1-modules>=0.2.1 Downloading pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB) Collecting pyasn1<0.5.0,>=0.4.6 Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) Collecting requests-oauthlib>=0.7.0 Downloading requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB) Collecting oauthlib>=3.0.0 Downloading oauthlib-3.1.1-py2.py3-none-any.whl (146 kB) Collecting rsa<5,>=3.1.4 Downloading rsa-4.7.2-py3-none-any.whl (34 kB) Collecting Six Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting tensorboard-plugin-wit>=1.6.0 Downloading tensorboard_plugin_wit-1.8.0-py3-none-any.whl (781 kB) Collecting torchmetrics>=0.2.0 Downloading torchmetrics-0.3.2-py3-none-any.whl (274 kB) Collecting scikit-video Downloading scikit_video-1.1.11-py2.py3-none-any.whl (2.3 MB) Collecting aiohttp Downloading aiohttp-3.7.4.post0-cp37-cp37m-manylinux2014_x86_64.whl (1.3 MB) Collecting async-timeout<4.0,>=3.0 Downloading async_timeout-3.0.1-py3-none-any.whl (8.2 kB) Collecting attrs>=17.3.0 Downloading attrs-21.2.0-py2.py3-none-any.whl (53 kB) Collecting multidict<7.0,>=4.5 Downloading multidict-5.1.0-cp37-cp37m-manylinux2014_x86_64.whl (142 kB) Collecting typing-extensions Downloading typing_extensions-3.10.0.0-py3-none-any.whl (26 kB) Collecting yarl<2.0,>=1.0 Downloading yarl-1.6.3-cp37-cp37m-manylinux2014_x86_64.whl (294 kB) Collecting analytics-python Downloading analytics_python-1.3.1-py2.py3-none-any.whl (16 kB) Collecting backoff==1.10.0 Downloading backoff-1.10.0-py2.py3-none-any.whl (31 kB) Collecting monotonic>=1.5 Downloading monotonic-1.6-py2.py3-none-any.whl (8.2 kB) Collecting python-dateutil>2.1 Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB) Collecting cached-property Downloading cached_property-1.5.2-py2.py3-none-any.whl (7.6 kB) Collecting ffmpy Downloading ffmpy-0.3.0.tar.gz (4.8 kB) Collecting flask-cachebuster Downloading Flask-CacheBuster-1.0.0.tar.gz (3.1 kB) Collecting Flask-Login Downloading Flask_Login-0.5.0-py2.py3-none-any.whl (16 kB) Collecting importlib-metadata Downloading importlib_metadata-4.6.0-py3-none-any.whl (17 kB) Collecting zipp>=0.5 Downloading zipp-3.4.1-py3-none-any.whl (5.2 kB) Collecting markdown2 Downloading markdown2-2.4.0-py2.py3-none-any.whl (34 kB) Collecting matplotlib Downloading matplotlib-3.4.2-cp37-cp37m-manylinux1_x86_64.whl (10.3 MB) Collecting cycler>=0.10 Downloading cycler-0.10.0-py2.py3-none-any.whl (6.5 kB) Collecting kiwisolver>=1.0.1 Downloading kiwisolver-1.3.1-cp37-cp37m-manylinux1_x86_64.whl (1.1 MB) Collecting pyparsing>=2.2.1 Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) Collecting packaging Downloading packaging-20.9-py2.py3-none-any.whl (40 kB) Collecting pandas Downloading pandas-1.2.5-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (9.9 MB) Collecting pytz>=2017.3 Downloading pytz-2021.1-py2.py3-none-any.whl (510 kB) Collecting paramiko Downloading paramiko-2.7.2-py2.py3-none-any.whl (206 kB) Collecting bcrypt>=3.1.3 Downloading bcrypt-3.2.0-cp36-abi3-manylinux2010_x86_64.whl (63 kB) Collecting cffi>=1.1 Downloading cffi-1.14.5-cp37-cp37m-manylinux1_x86_64.whl (402 kB) Collecting cryptography>=2.5 Downloading cryptography-3.4.7-cp36-abi3-manylinux2014_x86_64.whl (3.2 MB) Collecting pynacl>=1.0.1 Downloading PyNaCl-1.4.0-cp35-abi3-manylinux1_x86_64.whl (961 kB) Collecting pycparser Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB) Collecting pycryptodome Downloading pycryptodome-3.10.1-cp35-abi3-manylinux2010_x86_64.whl (1.9 MB) Collecting scipy Downloading scipy-1.7.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (28.5 MB) Building wheels for collected packages: moviepy, proglog, future, ffmpy, flask-cachebuster Building wheel for moviepy (setup.py): started Building wheel for moviepy (setup.py): finished with status 'done' Created wheel for moviepy: filename=moviepy-1.0.3-py3-none-any.whl size=110726 sha256=62511d94df67af1b92032e486b94bb657fa9904cad37ea3f773ac31e60a93774 Stored in directory: /root/.cache/pip/wheels/56/dc/2b/9cd600d483c04af3353d66623056fc03faed76b7518faae4df Building wheel for proglog (setup.py): started Building wheel for proglog (setup.py): finished with status 'done' Created wheel for proglog: filename=proglog-0.1.9-py3-none-any.whl size=6147 sha256=5ea7e58607544c4dc0441456aa70dc7d5fd483648def7a699168a36eeb08c664 Stored in directory: /root/.cache/pip/wheels/12/36/1f/dc61e6ac10781d63cf6fa045eb09fa613a667384e12cb6e6e0 Building wheel for future (setup.py): started Building wheel for future (setup.py): finished with status 'done' Created wheel for future: filename=future-0.18.2-py3-none-any.whl size=491059 sha256=bab861ab2cf63b522a62df3de2f8ec292bb7469c1eb1678f2b1daa952dfb35af Stored in directory: /root/.cache/pip/wheels/56/b0/fe/4410d17b32f1f0c3cf54cdfb2bc04d7b4b8f4ae377e2229ba0 Building wheel for ffmpy (setup.py): started Building wheel for ffmpy (setup.py): finished with status 'done' Created wheel for ffmpy: filename=ffmpy-0.3.0-py3-none-any.whl size=4709 sha256=461f67cf4d9b81834b21fb3ca7d1cce89adf0c9eed4bd72ecbb3d5a9a2f28388 Stored in directory: /root/.cache/pip/wheels/13/e4/6c/e8059816e86796a597c6e6b0d4c880630f51a1fcfa0befd5e6 Building wheel for flask-cachebuster (setup.py): started Building wheel for flask-cachebuster (setup.py): finished with status 'done' Created wheel for flask-cachebuster: filename=Flask_CacheBuster-1.0.0-py3-none-any.whl size=3372 sha256=fa64e9d67b0ebba6b66cd448af8244a39577e65ff255d1eeeaf3e6fc000b4b66 Stored in directory: /root/.cache/pip/wheels/28/c0/c4/44687421dab41455be93112bd1b0dee1f3c5a9aa27bee63708 Successfully built moviepy proglog future ffmpy flask-cachebuster Installing collected packages: zipp, urllib3, typing-extensions, pyasn1, idna, chardet, certifi, Six, rsa, requests, pycparser, pyasn1-modules, oauthlib, multidict, MarkupSafe, importlib-metadata, cachetools, yarl, Werkzeug, requests-oauthlib, pyparsing, numpy, Jinja2, itsdangerous, google-auth, click, cffi, attrs, async-timeout, tqdm, torch, tensorboard-plugin-wit, pytz, python-dateutil, pynacl, protobuf, pillow, packaging, monotonic, markdown, kiwisolver, grpcio, google-auth-oauthlib, fsspec, Flask, cycler, cryptography, bcrypt, backoff, aiohttp, absl-py, torchmetrics, tensorboard, scipy, PyYAML, pyDeprecate, pycryptodome, proglog, paramiko, pandas, matplotlib, markdown2, imageio-ffmpeg, imageio, future, Flask-Login, Flask-Cors, flask-cachebuster, ffmpy, decorator, cached-property, analytics-python, torchvision, torchtext, scikit-video, pytorch-lightning, moviepy, h5py, gradio, av Successfully installed Flask-2.0.1 Flask-Cors-3.0.10 Flask-Login-0.5.0 Jinja2-3.0.1 MarkupSafe-2.0.1 PyYAML-5.4.1 Six-1.16.0 Werkzeug-2.0.1 absl-py-0.13.0 aiohttp-3.7.4.post0 analytics-python-1.3.1 async-timeout-3.0.1 attrs-21.2.0 av-8.0.3 backoff-1.10.0 bcrypt-3.2.0 cached-property-1.5.2 cachetools-4.2.2 certifi-2021.5.30 cffi-1.14.5 chardet-4.0.0 click-8.0.1 cryptography-3.4.7 cycler-0.10.0 decorator-4.4.2 ffmpy-0.3.0 flask-cachebuster-1.0.0 fsspec-2021.6.1 future-0.18.2 google-auth-1.32.0 google-auth-oauthlib-0.4.4 gradio-2.0.9 grpcio-1.38.1 h5py-3.3.0 idna-2.10 imageio-2.9.0 imageio-ffmpeg-0.4.4 importlib-metadata-4.6.0 itsdangerous-2.0.1 kiwisolver-1.3.1 markdown-3.3.4 markdown2-2.4.0 matplotlib-3.4.2 monotonic-1.6 moviepy-1.0.3 multidict-5.1.0 numpy-1.21.0 oauthlib-3.1.1 packaging-20.9 pandas-1.2.5 paramiko-2.7.2 pillow-8.2.0 proglog-0.1.9 protobuf-3.17.3 pyDeprecate-0.3.0 pyasn1-0.4.8 pyasn1-modules-0.2.8 pycparser-2.20 pycryptodome-3.10.1 pynacl-1.4.0 pyparsing-2.4.7 python-dateutil-2.8.1 pytorch-lightning-1.3.7.post0 pytz-2021.1 requests-2.25.1 requests-oauthlib-1.3.0 rsa-4.7.2 scikit-video-1.1.11 scipy-1.7.0 tensorboard-2.4.1 tensorboard-plugin-wit-1.8.0 torch-1.7.1 torchmetrics-0.3.2 torchtext-0.8.1 torchvision-0.8.2 tqdm-4.61.1 typing-extensions-3.10.0.0 urllib3-1.26.6 yarl-1.6.3 zipp-3.4.1 WARNING: You are using pip version 20.3.3; however, version 21.1.3 is available. You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.  ---> 5bed567e338a Step 6/9 : ENV GRADIO_SERVER_NAME "0.0.0.0" ---> Running in bf13594c076c ---> 121d62d6f232 Step 7/9 : ENV GRADIO_DEBUG "1" ---> Running in 07699d105e91 ---> ed3f5549bf52 Step 8/9 : ENTRYPOINT [ "python" ] ---> Running in 7abde1aecd3a ---> 148bfe46281d Step 9/9 : CMD [ "demo.py" ] ---> Running in 117731d5ce07 ---> f51e2ed0d95b Successfully built f51e2ed0d95b Successfully tagged ak391videogpt:latest Launching image... Starting container... /usr/local/lib/python3.7/site-packages/pytorch_lightning/metrics/__init__.py:44: LightningDeprecationWarning: `pytorch_lightning.metrics.*` module has been renamed to `torchmetrics.*` and split off to its own package (https://github.com/PyTorchLightning/metrics) since v1.3 and will be removed in v1.5 "`pytorch_lightning.metrics.*` module has been renamed to `torchmetrics.*` and split off to its own package" 0.00iB [00:00, ?iB/s] 5.77MiB [00:00, 57.6MiB/s] 11.5MiB [00:00, 31.7MiB/s] 16.8MiB [00:00, 35.8MiB/s] 25.2MiB [00:00, 40.0MiB/s] 42.0MiB [00:00, 72.3MiB/s] 50.7MiB [00:00, 56.9MiB/s] 67.1MiB [00:01, 80.0MiB/s] 84.1MiB [00:01, 101MiB/s] 96.4MiB [00:01, 77.9MiB/s] 116MiB [00:01, 102MiB/s] 129MiB [00:01, 85.9MiB/s] 148MiB [00:01, 109MiB/s] 161MiB [00:02, 77.2MiB/s] 176MiB [00:02, 81.0MiB/s] 196MiB [00:02, 102MiB/s] 215MiB [00:02, 122MiB/s] 235MiB [00:02, 139MiB/s] 254MiB [00:02, 154MiB/s] 258MiB [00:02, 94.7MiB/s] Traceback (most recent call last): File "demo.py", line 12, in <module> vqvae = load_vqvae('kinetics_stride2x4x4', device=device).to(device) File "/app/videogpt/download.py", line 58, in load_vqvae vqvae = VQVAE.load_from_checkpoint(filepath).to(device) File "/usr/local/lib/python3.7/site-packages/pytorch_lightning/core/saving.py", line 157, in load_from_checkpoint model = cls._load_model_state(checkpoint, strict=strict, **kwargs) File "/usr/local/lib/python3.7/site-packages/pytorch_lightning/core/saving.py", line 199, in _load_model_state model = cls(**_cls_kwargs) File "/app/videogpt/vqvae.py", line 17, in __init__ self.hparams = args File "/usr/local/lib/python3.7/site-packages/torch/nn/modules/module.py", line 826, in __setattr__ object.__setattr__(self, name, value) AttributeError: can't set attribute Stopped run.