Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- + exit_code=0
- + tee /codeexecution/submission/log.txt
- + cd /codeexecution
- + echo 'List installed packages'
- List installed packages
- + echo '######################################'
- ######################################
- + conda list -n condaenv
- # packages in environment at /srv/conda/envs/condaenv:
- #
- # Name Version Build Channel
- _libgcc_mutex 0.1 conda_forge conda-forge
- _openmp_mutex 4.5 1_llvm conda-forge
- abseil-cpp 20210324.0 h9c3ff4c_0 conda-forge
- absl-py 0.13.0 pyhd8ed1ab_0 conda-forge
- affine 2.3.0 py_0 conda-forge
- aiohttp 3.7.4.post0 py39h3811e60_0 conda-forge
- albumentations 1.0.3 pyhd8ed1ab_0 conda-forge
- alsa-lib 1.2.3 h516909a_0 conda-forge
- appdirs 1.4.4 pyh9f0ad1d_0 conda-forge
- astor 0.8.1 pyh9f0ad1d_0 conda-forge
- astunparse 1.6.3 pyhd8ed1ab_0 conda-forge
- async-timeout 3.0.1 py_1000 conda-forge
- attrs 21.2.0 pyhd8ed1ab_0 conda-forge
- beautifulsoup4 4.9.3 pyhb0f4dca_0 conda-forge
- blinker 1.4 py_1 conda-forge
- blosc 1.21.0 h9c3ff4c_0 conda-forge
- boost-cpp 1.74.0 h312852a_4 conda-forge
- brotli 1.0.9 h7f98852_5 conda-forge
- brotli-bin 1.0.9 h7f98852_5 conda-forge
- brotlipy 0.7.0 py39h3811e60_1001 conda-forge
- brunsli 0.1 h9c3ff4c_0 conda-forge
- bzip2 1.0.8 h7f98852_4 conda-forge
- c-ares 1.17.2 h7f98852_0 conda-forge
- ca-certificates 2021.5.30 ha878542_0 conda-forge
- cachetools 4.2.2 pyhd8ed1ab_0 conda-forge
- cairo 1.16.0 h6cf1ce9_1008 conda-forge
- catalogue 2.0.4 py39hf3d152e_0 conda-forge
- certifi 2021.5.30 py39hf3d152e_0 conda-forge
- cffi 1.14.6 py39he32792d_0 conda-forge
- cfitsio 3.470 hb418390_7 conda-forge
- chardet 4.0.0 py39hf3d152e_1 conda-forge
- charls 2.2.0 h9c3ff4c_0 conda-forge
- charset-normalizer 2.0.0 pyhd8ed1ab_0 conda-forge
- click 7.1.2 pyh9f0ad1d_0 conda-forge
- click-plugins 1.1.1 py_0 conda-forge
- cligj 0.7.2 pyhd8ed1ab_0 conda-forge
- cloudpickle 1.6.0 py_0 conda-forge
- colorama 0.4.4 pyh9f0ad1d_0 conda-forge
- cryptography 3.4.7 py39hbca0aa6_0 conda-forge
- cudatoolkit 11.1.74 h6bb024c_0 nvidia
- cudnn 8.2.1.32 h86fa8c9_0 conda-forge
- curl 7.78.0 hea6ffbf_0 conda-forge
- cycler 0.10.0 py_2 conda-forge
- cymem 2.0.5 py39he80948d_2 conda-forge
- cython-blis 0.7.4 py39hce5d2b2_0 conda-forge
- cytoolz 0.11.0 py39h3811e60_3 conda-forge
- dask-core 2021.8.0 pyhd8ed1ab_0 conda-forge
- dataclasses 0.8 pyhc8e2a94_3 conda-forge
- dbus 1.13.6 h48d8840_2 conda-forge
- decorator 4.4.2 py_0 conda-forge
- docopt 0.6.2 py_1 conda-forge
- efficientnet-pytorch 0.6.3 pyh9f0ad1d_0 conda-forge
- expat 2.4.1 h9c3ff4c_0 conda-forge
- fastai 2.5.0 py_0 fastai
- fastcore 1.3.26 py_0 fastai
- fastdownload 0.0.5 py_0 fastai
- fastprogress 1.0.0 pyh39e3cac_0 fastai
- ffmpeg 4.3.2 hca11adc_0 conda-forge
- fontconfig 2.13.1 hba837de_1005 conda-forge
- freetype 2.10.4 h0708190_1 conda-forge
- freexl 1.0.6 h7f98852_0 conda-forge
- fsspec 2021.7.0 pyhd8ed1ab_0 conda-forge
- future 0.18.2 py39hf3d152e_3 conda-forge
- gast 0.3.3 py_0 conda-forge
- geos 3.9.1 h9c3ff4c_2 conda-forge
- geotiff 1.6.0 h4f31c25_6 conda-forge
- gettext 0.19.8.1 h0b5b191_1005 conda-forge
- giflib 5.2.1 h36c2ea0_2 conda-forge
- glib 2.68.3 h9c3ff4c_0 conda-forge
- glib-tools 2.68.3 h9c3ff4c_0 conda-forge
- gmp 6.2.1 h58526e2_0 conda-forge
- gnutls 3.6.13 h85f3911_1 conda-forge
- google-auth 1.34.0 pyh6c4a22f_0 conda-forge
- google-auth-oauthlib 0.4.1 py_2 conda-forge
- google-pasta 0.2.0 pyh8c360ce_0 conda-forge
- graphite2 1.3.13 h58526e2_1001 conda-forge
- grpc-cpp 1.37.1 h36de60a_0 conda-forge
- grpcio 1.37.1 py39hff7568b_0 conda-forge
- gst-plugins-base 1.18.4 hf529b03_2 conda-forge
- gstreamer 1.18.4 h76c114f_2 conda-forge
- h5py 2.10.0 nompi_py39h98ba4bc_106 conda-forge
- harfbuzz 2.8.2 h83ec7ef_0 conda-forge
- hdf4 4.2.15 h10796ff_3 conda-forge
- hdf5 1.10.6 nompi_h6a2412b_1114 conda-forge
- icu 68.1 h58526e2_0 conda-forge
- idna 3.1 pyhd3deb0d_0 conda-forge
- imagecodecs 2021.7.30 py39h44211f0_0 conda-forge
- imageio 2.9.0 py_0 conda-forge
- imgaug 0.4.0 py_1 conda-forge
- importlib-metadata 4.6.4 py39hf3d152e_0 conda-forge
- iniconfig 1.1.1 pyh9f0ad1d_0 conda-forge
- jasper 1.900.1 h07fcdf6_1006 conda-forge
- jinja2 3.0.1 pyhd8ed1ab_0 conda-forge
- joblib 1.0.1 pyhd8ed1ab_0 conda-forge
- jpeg 9d h36c2ea0_0 conda-forge
- json-c 0.15 h98cffda_0 conda-forge
- jxrlib 1.1 h7f98852_2 conda-forge
- kealib 1.4.14 hcc255d8_2 conda-forge
- keras 2.4.3 pyhd8ed1ab_0 conda-forge
- keras-preprocessing 1.1.2 pyhd8ed1ab_0 conda-forge
- kiwisolver 1.3.1 py39h1a9c180_1 conda-forge
- krb5 1.19.2 hcc1bbae_0 conda-forge
- lame 3.100 h7f98852_1001 conda-forge
- lcms2 2.12 hddcbb42_0 conda-forge
- ld_impl_linux-64 2.36.1 hea4e1c9_2 conda-forge
- lerc 2.2.1 h9c3ff4c_0 conda-forge
- libaec 1.0.5 h9c3ff4c_0 conda-forge
- libblas 3.9.0 8_mkl conda-forge
- libbrotlicommon 1.0.9 h7f98852_5 conda-forge
- libbrotlidec 1.0.9 h7f98852_5 conda-forge
- libbrotlienc 1.0.9 h7f98852_5 conda-forge
- libcblas 3.9.0 8_mkl conda-forge
- libclang 11.1.0 default_ha53f305_1 conda-forge
- libcurl 7.78.0 h2574ce0_0 conda-forge
- libdap4 3.20.6 hd7c4107_2 conda-forge
- libdeflate 1.8 h7f98852_0 conda-forge
- libedit 3.1.20191231 he28a2e2_2 conda-forge
- libev 4.33 h516909a_1 conda-forge
- libevent 2.1.10 hcdb4288_3 conda-forge
- libffi 3.3 h58526e2_2 conda-forge
- libgcc-ng 11.1.0 hc902ee8_8 conda-forge
- libgdal 3.3.1 h8f005ca_1 conda-forge
- libgfortran-ng 11.1.0 h69a702a_8 conda-forge
- libgfortran5 11.1.0 h6c583b3_8 conda-forge
- libglib 2.68.3 h3e27bee_0 conda-forge
- libiconv 1.16 h516909a_0 conda-forge
- libkml 1.3.0 h238a007_1014 conda-forge
- liblapack 3.9.0 8_mkl conda-forge
- liblapacke 3.9.0 8_mkl conda-forge
- libllvm11 11.1.0 hf817b99_2 conda-forge
- libnetcdf 4.8.0 nompi_hcd642e3_103 conda-forge
- libnghttp2 1.43.0 h812cca2_0 conda-forge
- libogg 1.3.4 h7f98852_1 conda-forge
- libopencv 4.5.2 py39h2406f9b_0 conda-forge
- libopus 1.3.1 h7f98852_1 conda-forge
- libpng 1.6.37 h21135ba_2 conda-forge
- libpq 13.3 hd57d9b9_0 conda-forge
- libprotobuf 3.15.8 h780b84a_0 conda-forge
- librttopo 1.1.0 h1185371_6 conda-forge
- libspatialite 5.0.1 h8694cbe_5 conda-forge
- libssh2 1.9.0 ha56f1ee_6 conda-forge
- libstdcxx-ng 11.1.0 h56837e0_8 conda-forge
- libtiff 4.3.0 hf544144_0 conda-forge
- libuuid 2.32.1 h7f98852_1000 conda-forge
- libvorbis 1.3.7 h9c3ff4c_0 conda-forge
- libwebp-base 1.2.1 h7f98852_0 conda-forge
- libxcb 1.13 h7f98852_1003 conda-forge
- libxkbcommon 1.0.3 he3ba5ed_0 conda-forge
- libxml2 2.9.12 h72842e0_0 conda-forge
- libzip 1.8.0 h4de3113_0 conda-forge
- libzopfli 1.0.3 h9c3ff4c_0 conda-forge
- llvm-openmp 12.0.1 h4bd325d_1 conda-forge
- locket 0.2.0 py_2 conda-forge
- loguru 0.5.3 py39hf3d152e_2 conda-forge
- lz4-c 1.9.3 h9c3ff4c_1 conda-forge
- magma 2.5.4 ha9b7cf9_2 conda-forge
- markdown 3.3.4 pyhd8ed1ab_0 conda-forge
- markupsafe 2.0.1 py39h3811e60_0 conda-forge
- matplotlib 3.4.3 py39hf3d152e_0 conda-forge
- matplotlib-base 3.4.3 py39h2fa2bec_0 conda-forge
- mkl 2020.4 h726a3e6_304 conda-forge
- more-itertools 8.8.0 pyhd8ed1ab_0 conda-forge
- multidict 5.1.0 py39h3811e60_1 conda-forge
- munch 2.5.0 py_0 conda-forge
- murmurhash 1.0.5 py39he80948d_0 conda-forge
- mysql-common 8.0.25 ha770c72_2 conda-forge
- mysql-libs 8.0.25 hfa10184_2 conda-forge
- nccl 2.10.3.1 h97a9cb7_0 conda-forge
- ncurses 6.2 h58526e2_4 conda-forge
- nettle 3.6 he412f7d_0 conda-forge
- networkx 2.6.2 pyhd8ed1ab_0 conda-forge
- ninja 1.10.2 h4bd325d_0 conda-forge
- nspr 4.30 h9c3ff4c_0 conda-forge
- nss 3.69 hb5efdd6_0 conda-forge
- numpy 1.21.1 py39hdbf815f_0 conda-forge
- oauthlib 3.1.1 pyhd8ed1ab_0 conda-forge
- olefile 0.46 pyh9f0ad1d_1 conda-forge
- opencv 4.5.2 py39hf3d152e_0 conda-forge
- openh264 2.1.1 h780b84a_0 conda-forge
- openjpeg 2.4.0 hb52868f_1 conda-forge
- openssl 1.1.1k h7f98852_1 conda-forge
- opt_einsum 3.3.0 pyhd8ed1ab_1 conda-forge
- packaging 21.0 pyhd8ed1ab_0 conda-forge
- pandas 1.3.1 py39hde0f152_0 conda-forge
- partd 1.2.0 pyhd8ed1ab_0 conda-forge
- pathy 0.6.0 pyhd8ed1ab_0 conda-forge
- pcre 8.45 h9c3ff4c_0 conda-forge
- pillow 8.2.0 py39hf95b381_1 conda-forge
- pip 20.3.4 pyhd8ed1ab_0 conda-forge
- pixman 0.40.0 h36c2ea0_0 conda-forge
- pluggy 0.13.1 py39hf3d152e_4 conda-forge
- pooch 1.4.0 pyhd8ed1ab_0 conda-forge
- poppler 21.03.0 h93df280_0 conda-forge
- poppler-data 0.4.10 0 conda-forge
- postgresql 13.3 h2510834_0 conda-forge
- preshed 3.0.5 py39he80948d_1 conda-forge
- pretrainedmodels 0.7.4 pyhd8ed1ab_2 conda-forge
- proj 8.0.1 h277dcde_0 conda-forge
- protobuf 3.15.8 py39he80948d_0 conda-forge
- pthread-stubs 0.4 h36c2ea0_1001 conda-forge
- py 1.10.0 pyhd3deb0d_0 conda-forge
- py-opencv 4.5.2 py39hef51801_0 conda-forge
- pyasn1 0.4.8 py_0 conda-forge
- pyasn1-modules 0.2.7 py_0 conda-forge
- pycparser 2.20 pyh9f0ad1d_2 conda-forge
- pydantic 1.8.2 py39h3811e60_0 conda-forge
- pydap 3.2.2 pyh9f0ad1d_1001 conda-forge
- pydeprecate 0.3.1 pyhd8ed1ab_0 conda-forge
- pyepsg 0.4.0 py_0 conda-forge
- pygeos 0.10.1 py39ha61afbd_0 conda-forge
- pyjwt 2.1.0 pyhd8ed1ab_0 conda-forge
- pyopenssl 20.0.1 pyhd8ed1ab_0 conda-forge
- pyparsing 2.4.7 pyh9f0ad1d_0 conda-forge
- pyqt 5.12.3 py39hf3d152e_7 conda-forge
- pyqt-impl 5.12.3 py39h0fcd23e_7 conda-forge
- pyqt5-sip 4.19.18 py39he80948d_7 conda-forge
- pyqtchart 5.12 py39h0fcd23e_7 conda-forge
- pyqtwebengine 5.12.1 py39h0fcd23e_7 conda-forge
- pysocks 1.7.1 py39hf3d152e_3 conda-forge
- pytest 6.2.4 py39hf3d152e_0 conda-forge
- python 3.9.6 h49503c6_1_cpython conda-forge
- python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge
- python-flatbuffers 1.12 pyhd8ed1ab_1 conda-forge
- python_abi 3.9 2_cp39 conda-forge
- pytorch 1.8.0 cuda111py39h37e5b68_1 conda-forge
- pytorch-lightning 1.4.1 pyhd8ed1ab_0 conda-forge
- pytz 2021.1 pyhd8ed1ab_0 conda-forge
- pyu2f 0.1.5 pyhd8ed1ab_0 conda-forge
- pywavelets 1.1.1 py39hce5d2b2_3 conda-forge
- pyyaml 5.4.1 py39h3811e60_0 conda-forge
- qt 5.12.9 hda022c4_4 conda-forge
- rasterio 1.2.6 py39hbc4e497_2 conda-forge
- re2 2021.04.01 h9c3ff4c_0 conda-forge
- readline 8.1 h46c0cb4_0 conda-forge
- requests 2.26.0 pyhd8ed1ab_0 conda-forge
- requests-oauthlib 1.3.0 pyh9f0ad1d_0 conda-forge
- rsa 4.7.2 pyh44b312d_0 conda-forge
- scikit-image 0.18.2 py39hde0f152_0 conda-forge
- scikit-learn 0.24.2 py39h4dfa638_1 conda-forge
- scipy 1.7.1 py39hee8e79c_0 conda-forge
- segmentation-models-pytorch 0.2.0 pyhd8ed1ab_0 conda-forge
- setuptools 57.4.0 py39hf3d152e_0 conda-forge
- shapely 1.7.1 py39ha61afbd_5 conda-forge
- shellingham 1.4.0 pyh44b312d_0 conda-forge
- six 1.16.0 pyh6c4a22f_0 conda-forge
- sleef 3.5.1 h7f98852_1 conda-forge
- smart_open 5.1.0 pyhd8ed1ab_1 conda-forge
- snappy 1.1.8 he1b5a44_3 conda-forge
- snuggs 1.4.7 py_0 conda-forge
- soupsieve 2.0.1 py_1 conda-forge
- spacy 3.1.1 py39h5472131_0 conda-forge
- spacy-legacy 3.0.8 pyhd8ed1ab_0 conda-forge
- sqlite 3.36.0 h9cd32fc_0 conda-forge
- srsly 2.4.1 py39he80948d_0 conda-forge
- tensorboard 2.4.1 pyhd8ed1ab_0 conda-forge
- tensorboard-plugin-wit 1.8.0 pyh44b312d_0 conda-forge
- tensorflow 2.4.1 py39hf3d152e_0 conda-forge
- tensorflow-base 2.4.1 py39h23a8cbf_0 conda-forge
- tensorflow-estimator 2.4.0 pyh9656e83_0 conda-forge
- termcolor 1.1.0 py_2 conda-forge
- thinc 8.0.8 py39h5472131_0 conda-forge
- threadpoolctl 2.2.0 pyh8a188c0_0 conda-forge
- tifffile 2021.8.8 pyhd8ed1ab_0 conda-forge
- tiledb 2.3.2 he87e0bf_0 conda-forge
- timm 0.4.12 py_0 fastai
- tk 8.6.10 h21135ba_1 conda-forge
- toml 0.10.2 pyhd8ed1ab_0 conda-forge
- toolz 0.11.1 py_0 conda-forge
- torchmetrics 0.5.0 pyhd8ed1ab_0 conda-forge
- torchvision 0.9.1 py39cuda111hcd06603_1_cuda conda-forge
- tornado 6.1 py39h3811e60_1 conda-forge
- tqdm 4.62.0 pyhd8ed1ab_0 conda-forge
- ttach 0.0.3 pypi_0 pypi
- typer 0.3.2 pyhd8ed1ab_0 conda-forge
- typing-extensions 3.10.0.0 hd8ed1ab_0 conda-forge
- typing_extensions 3.10.0.0 pyha770c72_0 conda-forge
- tzcode 2021a h7f98852_2 conda-forge
- tzdata 2021a he74cb21_1 conda-forge
- urllib3 1.26.6 pyhd8ed1ab_0 conda-forge
- wasabi 0.8.2 pyh44b312d_0 conda-forge
- webob 1.8.7 pyhd8ed1ab_0 conda-forge
- werkzeug 2.0.1 pyhd8ed1ab_0 conda-forge
- wheel 0.37.0 pyhd8ed1ab_1 conda-forge
- wrapt 1.12.1 py39h3811e60_3 conda-forge
- x264 1!161.3030 h7f98852_1 conda-forge
- xarray 0.19.0 pyhd8ed1ab_1 conda-forge
- xerces-c 3.2.3 h9d8b166_2 conda-forge
- xorg-kbproto 1.0.7 h7f98852_1002 conda-forge
- xorg-libice 1.0.10 h7f98852_0 conda-forge
- xorg-libsm 1.2.3 hd9c2040_1000 conda-forge
- xorg-libx11 1.7.2 h7f98852_0 conda-forge
- xorg-libxau 1.0.9 h7f98852_0 conda-forge
- xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge
- xorg-libxext 1.3.4 h7f98852_1 conda-forge
- xorg-libxrender 0.9.10 h7f98852_1003 conda-forge
- xorg-renderproto 0.11.1 h7f98852_1002 conda-forge
- xorg-xextproto 7.3.0 h7f98852_1002 conda-forge
- xorg-xproto 7.0.31 h7f98852_1007 conda-forge
- xz 5.2.5 h516909a_1 conda-forge
- yaml 0.2.5 h516909a_0 conda-forge
- yarl 1.6.3 py39h3811e60_2 conda-forge
- zfp 0.5.5 h9c3ff4c_5 conda-forge
- zipp 3.5.0 pyhd8ed1ab_0 conda-forge
- zlib 1.2.11 h516909a_1010 conda-forge
- zstd 1.5.0 ha95c52a_0 conda-forge
- + echo '######################################'
- ######################################
- + echo 'Unpacking submission...'
- Unpacking submission...
- + unzip ./submission/submission.zip -d ./
- Archive: ./submission/submission.zip
- creating: ./assets/
- inflating: ./assets/flood_model.py
- inflating: ./assets/flood_model.ckpt
- inflating: ./main.py
- creating: ./assets/__pycache__/
- inflating: ./assets/__pycache__/flood_model.cpython-38.pyc
- inflating: ./assets/__pycache__/__init__.cpython-38.pyc
- + ls -alh
- total 28K
- drwxr-xr-x 1 appuser appuser 4.0K Aug 17 06:53 .
- drwxr-xr-x 1 root root 4.0K Aug 17 06:53 ..
- drwxrwxr-x 3 appuser appuser 4.0K Aug 13 12:34 assets
- drwxrwxrwx 2 appuser appuser 4.0K Aug 17 06:53 data
- -rw-r--r-- 1 appuser appuser 1.1K Aug 16 16:56 entrypoint.sh
- -rw-rw-r-- 1 appuser appuser 2.5K Aug 13 13:47 main.py
- drwxr-xr-x 2 appuser appuser 4.0K Aug 16 17:10 scripts
- drwxrwxrwx 2 appuser appuser 4.0K Aug 17 06:53 submission
- drwxr-xr-x 2 appuser appuser 4.0K Aug 16 17:10 tests
- + '[' -f main.py ']'
- + echo 'Running submission with Python'
- Running submission with Python
- + conda run --no-capture-output -n condaenv python main.py
- /srv/conda/envs/condaenv/lib/python3.9/site-packages/pretrainedmodels/models/dpn.py:255: SyntaxWarning: "is" with a literal. Did you mean "=="?
- if block_type is 'proj':
- /srv/conda/envs/condaenv/lib/python3.9/site-packages/pretrainedmodels/models/dpn.py:258: SyntaxWarning: "is" with a literal. Did you mean "=="?
- elif block_type is 'down':
- /srv/conda/envs/condaenv/lib/python3.9/site-packages/pretrainedmodels/models/dpn.py:262: SyntaxWarning: "is" with a literal. Did you mean "=="?
- assert block_type is 'normal'
- 2021-08-17 06:53:48.423 | INFO | __main__:main:76 - Found 358 test chip_ids. Generating predictions.
- 0%| | 0/358 [00:00<?, ?it/s]2021-08-17 06:53:48.427 | INFO | __main__:make_prediction:33 - Loading model
- Downloading: "https://download.pytorch.org/models/resnet34-333f7ec4.pth" to /home/appuser/.cache/torch/hub/checkpoints/resnet34-333f7ec4.pth
- 0%| | 0/358 [00:20<?, ?it/s]2021-08-17 06:54:09.256 | ERROR | __main__:make_prediction:37 - Could not load model. <urlopen error [Errno -3] Temporary failure in name resolution>
- 0%| | 0/358 [00:20<?, ?it/s]
- Traceback (most recent call last):
- File "/srv/conda/envs/condaenv/lib/python3.9/urllib/request.py", line 1346, in do_open
- h.request(req.get_method(), req.selector, req.data, headers,
- File "/srv/conda/envs/condaenv/lib/python3.9/http/client.py", line 1257, in request
- self._send_request(method, url, body, headers, encode_chunked)
- File "/srv/conda/envs/condaenv/lib/python3.9/http/client.py", line 1303, in _send_request
- self.endheaders(body, encode_chunked=encode_chunked)
- File "/srv/conda/envs/condaenv/lib/python3.9/http/client.py", line 1252, in endheaders
- self._send_output(message_body, encode_chunked=encode_chunked)
- File "/srv/conda/envs/condaenv/lib/python3.9/http/client.py", line 1012, in _send_output
- self.send(msg)
- File "/srv/conda/envs/condaenv/lib/python3.9/http/client.py", line 952, in send
- self.connect()
- File "/srv/conda/envs/condaenv/lib/python3.9/http/client.py", line 1419, in connect
- super().connect()
- File "/srv/conda/envs/condaenv/lib/python3.9/http/client.py", line 923, in connect
- self.sock = self._create_connection(
- File "/srv/conda/envs/condaenv/lib/python3.9/socket.py", line 822, in create_connection
- for res in getaddrinfo(host, port, 0, SOCK_STREAM):
- File "/srv/conda/envs/condaenv/lib/python3.9/socket.py", line 953, in getaddrinfo
- for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
- socket.gaierror: [Errno -3] Temporary failure in name resolution
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/codeexecution/main.py", line 85, in <module>
- typer.run(main)
- File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/typer/main.py", line 859, in run
- app()
- File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/typer/main.py", line 214, in __call__
- return get_command(self)(*args, **kwargs)
- File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/click/core.py", line 829, in __call__
- return self.main(*args, **kwargs)
- File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/click/core.py", line 782, in main
- rv = self.invoke(ctx)
- File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
- return ctx.invoke(self.callback, **ctx.params)
- File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/click/core.py", line 610, in invoke
- return callback(*args, **kwargs)
- File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/typer/main.py", line 497, in wrapper
- return callback(**use_params) # type: ignore
- File "/codeexecution/main.py", line 79, in main
- output_data = make_prediction(chip_id)
- File "/codeexecution/main.py", line 35, in make_prediction
- model = FloodModel.load_from_checkpoint(ASSETS_DIRECTORY / "flood_model.ckpt")
- File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/pytorch_lightning/core/saving.py", line 153, in load_from_checkpoint
- model = cls._load_model_state(checkpoint, strict=strict, **kwargs)
- File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/pytorch_lightning/core/saving.py", line 195, in _load_model_state
- model = cls(**_cls_kwargs)
- File "/codeexecution/assets/flood_model.py", line 148, in __init__
- self.model = self._prepare_model()
- File "/codeexecution/assets/flood_model.py", line 264, in _prepare_model
- unet_model = smp.Unet(
- File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/segmentation_models_pytorch/unet/model.py", line 65, in __init__
- self.encoder = get_encoder(
- File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/segmentation_models_pytorch/encoders/__init__.py", line 62, in get_encoder
- encoder.load_state_dict(model_zoo.load_url(settings["url"]))
- File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/torch/hub.py", line 524, in load_state_dict_from_url
- download_url_to_file(url, cached_file, hash_prefix, progress=progress)
- File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/torch/hub.py", line 394, in download_url_to_file
- u = urlopen(req)
- File "/srv/conda/envs/condaenv/lib/python3.9/urllib/request.py", line 214, in urlopen
- return opener.open(url, data, timeout)
- File "/srv/conda/envs/condaenv/lib/python3.9/urllib/request.py", line 517, in open
- response = self._open(req, data)
- File "/srv/conda/envs/condaenv/lib/python3.9/urllib/request.py", line 534, in _open
- result = self._call_chain(self.handle_open, protocol, protocol +
- File "/srv/conda/envs/condaenv/lib/python3.9/urllib/request.py", line 494, in _call_chain
- result = func(*args)
- File "/srv/conda/envs/condaenv/lib/python3.9/urllib/request.py", line 1389, in https_open
- return self.do_open(http.client.HTTPSConnection, req,
- File "/srv/conda/envs/condaenv/lib/python3.9/urllib/request.py", line 1349, in do_open
- raise URLError(err)
- urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
- ERROR conda.cli.main_run:execute(33): Subprocess for 'conda run ['python', 'main.py']' command failed. (See above for error)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement