Advertisement
Guest User

stac-overflow baseline logs

a guest
Aug 17th, 2021
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.48 KB | None | 0 0
  1. + exit_code=0
  2. + tee /codeexecution/submission/log.txt
  3. + cd /codeexecution
  4. + echo 'List installed packages'
  5. List installed packages
  6. + echo '######################################'
  7. ######################################
  8. + conda list -n condaenv
  9. # packages in environment at /srv/conda/envs/condaenv:
  10. #
  11. # Name Version Build Channel
  12. _libgcc_mutex 0.1 conda_forge conda-forge
  13. _openmp_mutex 4.5 1_llvm conda-forge
  14. abseil-cpp 20210324.0 h9c3ff4c_0 conda-forge
  15. absl-py 0.13.0 pyhd8ed1ab_0 conda-forge
  16. affine 2.3.0 py_0 conda-forge
  17. aiohttp 3.7.4.post0 py39h3811e60_0 conda-forge
  18. albumentations 1.0.3 pyhd8ed1ab_0 conda-forge
  19. alsa-lib 1.2.3 h516909a_0 conda-forge
  20. appdirs 1.4.4 pyh9f0ad1d_0 conda-forge
  21. astor 0.8.1 pyh9f0ad1d_0 conda-forge
  22. astunparse 1.6.3 pyhd8ed1ab_0 conda-forge
  23. async-timeout 3.0.1 py_1000 conda-forge
  24. attrs 21.2.0 pyhd8ed1ab_0 conda-forge
  25. beautifulsoup4 4.9.3 pyhb0f4dca_0 conda-forge
  26. blinker 1.4 py_1 conda-forge
  27. blosc 1.21.0 h9c3ff4c_0 conda-forge
  28. boost-cpp 1.74.0 h312852a_4 conda-forge
  29. brotli 1.0.9 h7f98852_5 conda-forge
  30. brotli-bin 1.0.9 h7f98852_5 conda-forge
  31. brotlipy 0.7.0 py39h3811e60_1001 conda-forge
  32. brunsli 0.1 h9c3ff4c_0 conda-forge
  33. bzip2 1.0.8 h7f98852_4 conda-forge
  34. c-ares 1.17.2 h7f98852_0 conda-forge
  35. ca-certificates 2021.5.30 ha878542_0 conda-forge
  36. cachetools 4.2.2 pyhd8ed1ab_0 conda-forge
  37. cairo 1.16.0 h6cf1ce9_1008 conda-forge
  38. catalogue 2.0.4 py39hf3d152e_0 conda-forge
  39. certifi 2021.5.30 py39hf3d152e_0 conda-forge
  40. cffi 1.14.6 py39he32792d_0 conda-forge
  41. cfitsio 3.470 hb418390_7 conda-forge
  42. chardet 4.0.0 py39hf3d152e_1 conda-forge
  43. charls 2.2.0 h9c3ff4c_0 conda-forge
  44. charset-normalizer 2.0.0 pyhd8ed1ab_0 conda-forge
  45. click 7.1.2 pyh9f0ad1d_0 conda-forge
  46. click-plugins 1.1.1 py_0 conda-forge
  47. cligj 0.7.2 pyhd8ed1ab_0 conda-forge
  48. cloudpickle 1.6.0 py_0 conda-forge
  49. colorama 0.4.4 pyh9f0ad1d_0 conda-forge
  50. cryptography 3.4.7 py39hbca0aa6_0 conda-forge
  51. cudatoolkit 11.1.74 h6bb024c_0 nvidia
  52. cudnn 8.2.1.32 h86fa8c9_0 conda-forge
  53. curl 7.78.0 hea6ffbf_0 conda-forge
  54. cycler 0.10.0 py_2 conda-forge
  55. cymem 2.0.5 py39he80948d_2 conda-forge
  56. cython-blis 0.7.4 py39hce5d2b2_0 conda-forge
  57. cytoolz 0.11.0 py39h3811e60_3 conda-forge
  58. dask-core 2021.8.0 pyhd8ed1ab_0 conda-forge
  59. dataclasses 0.8 pyhc8e2a94_3 conda-forge
  60. dbus 1.13.6 h48d8840_2 conda-forge
  61. decorator 4.4.2 py_0 conda-forge
  62. docopt 0.6.2 py_1 conda-forge
  63. efficientnet-pytorch 0.6.3 pyh9f0ad1d_0 conda-forge
  64. expat 2.4.1 h9c3ff4c_0 conda-forge
  65. fastai 2.5.0 py_0 fastai
  66. fastcore 1.3.26 py_0 fastai
  67. fastdownload 0.0.5 py_0 fastai
  68. fastprogress 1.0.0 pyh39e3cac_0 fastai
  69. ffmpeg 4.3.2 hca11adc_0 conda-forge
  70. fontconfig 2.13.1 hba837de_1005 conda-forge
  71. freetype 2.10.4 h0708190_1 conda-forge
  72. freexl 1.0.6 h7f98852_0 conda-forge
  73. fsspec 2021.7.0 pyhd8ed1ab_0 conda-forge
  74. future 0.18.2 py39hf3d152e_3 conda-forge
  75. gast 0.3.3 py_0 conda-forge
  76. geos 3.9.1 h9c3ff4c_2 conda-forge
  77. geotiff 1.6.0 h4f31c25_6 conda-forge
  78. gettext 0.19.8.1 h0b5b191_1005 conda-forge
  79. giflib 5.2.1 h36c2ea0_2 conda-forge
  80. glib 2.68.3 h9c3ff4c_0 conda-forge
  81. glib-tools 2.68.3 h9c3ff4c_0 conda-forge
  82. gmp 6.2.1 h58526e2_0 conda-forge
  83. gnutls 3.6.13 h85f3911_1 conda-forge
  84. google-auth 1.34.0 pyh6c4a22f_0 conda-forge
  85. google-auth-oauthlib 0.4.1 py_2 conda-forge
  86. google-pasta 0.2.0 pyh8c360ce_0 conda-forge
  87. graphite2 1.3.13 h58526e2_1001 conda-forge
  88. grpc-cpp 1.37.1 h36de60a_0 conda-forge
  89. grpcio 1.37.1 py39hff7568b_0 conda-forge
  90. gst-plugins-base 1.18.4 hf529b03_2 conda-forge
  91. gstreamer 1.18.4 h76c114f_2 conda-forge
  92. h5py 2.10.0 nompi_py39h98ba4bc_106 conda-forge
  93. harfbuzz 2.8.2 h83ec7ef_0 conda-forge
  94. hdf4 4.2.15 h10796ff_3 conda-forge
  95. hdf5 1.10.6 nompi_h6a2412b_1114 conda-forge
  96. icu 68.1 h58526e2_0 conda-forge
  97. idna 3.1 pyhd3deb0d_0 conda-forge
  98. imagecodecs 2021.7.30 py39h44211f0_0 conda-forge
  99. imageio 2.9.0 py_0 conda-forge
  100. imgaug 0.4.0 py_1 conda-forge
  101. importlib-metadata 4.6.4 py39hf3d152e_0 conda-forge
  102. iniconfig 1.1.1 pyh9f0ad1d_0 conda-forge
  103. jasper 1.900.1 h07fcdf6_1006 conda-forge
  104. jinja2 3.0.1 pyhd8ed1ab_0 conda-forge
  105. joblib 1.0.1 pyhd8ed1ab_0 conda-forge
  106. jpeg 9d h36c2ea0_0 conda-forge
  107. json-c 0.15 h98cffda_0 conda-forge
  108. jxrlib 1.1 h7f98852_2 conda-forge
  109. kealib 1.4.14 hcc255d8_2 conda-forge
  110. keras 2.4.3 pyhd8ed1ab_0 conda-forge
  111. keras-preprocessing 1.1.2 pyhd8ed1ab_0 conda-forge
  112. kiwisolver 1.3.1 py39h1a9c180_1 conda-forge
  113. krb5 1.19.2 hcc1bbae_0 conda-forge
  114. lame 3.100 h7f98852_1001 conda-forge
  115. lcms2 2.12 hddcbb42_0 conda-forge
  116. ld_impl_linux-64 2.36.1 hea4e1c9_2 conda-forge
  117. lerc 2.2.1 h9c3ff4c_0 conda-forge
  118. libaec 1.0.5 h9c3ff4c_0 conda-forge
  119. libblas 3.9.0 8_mkl conda-forge
  120. libbrotlicommon 1.0.9 h7f98852_5 conda-forge
  121. libbrotlidec 1.0.9 h7f98852_5 conda-forge
  122. libbrotlienc 1.0.9 h7f98852_5 conda-forge
  123. libcblas 3.9.0 8_mkl conda-forge
  124. libclang 11.1.0 default_ha53f305_1 conda-forge
  125. libcurl 7.78.0 h2574ce0_0 conda-forge
  126. libdap4 3.20.6 hd7c4107_2 conda-forge
  127. libdeflate 1.8 h7f98852_0 conda-forge
  128. libedit 3.1.20191231 he28a2e2_2 conda-forge
  129. libev 4.33 h516909a_1 conda-forge
  130. libevent 2.1.10 hcdb4288_3 conda-forge
  131. libffi 3.3 h58526e2_2 conda-forge
  132. libgcc-ng 11.1.0 hc902ee8_8 conda-forge
  133. libgdal 3.3.1 h8f005ca_1 conda-forge
  134. libgfortran-ng 11.1.0 h69a702a_8 conda-forge
  135. libgfortran5 11.1.0 h6c583b3_8 conda-forge
  136. libglib 2.68.3 h3e27bee_0 conda-forge
  137. libiconv 1.16 h516909a_0 conda-forge
  138. libkml 1.3.0 h238a007_1014 conda-forge
  139. liblapack 3.9.0 8_mkl conda-forge
  140. liblapacke 3.9.0 8_mkl conda-forge
  141. libllvm11 11.1.0 hf817b99_2 conda-forge
  142. libnetcdf 4.8.0 nompi_hcd642e3_103 conda-forge
  143. libnghttp2 1.43.0 h812cca2_0 conda-forge
  144. libogg 1.3.4 h7f98852_1 conda-forge
  145. libopencv 4.5.2 py39h2406f9b_0 conda-forge
  146. libopus 1.3.1 h7f98852_1 conda-forge
  147. libpng 1.6.37 h21135ba_2 conda-forge
  148. libpq 13.3 hd57d9b9_0 conda-forge
  149. libprotobuf 3.15.8 h780b84a_0 conda-forge
  150. librttopo 1.1.0 h1185371_6 conda-forge
  151. libspatialite 5.0.1 h8694cbe_5 conda-forge
  152. libssh2 1.9.0 ha56f1ee_6 conda-forge
  153. libstdcxx-ng 11.1.0 h56837e0_8 conda-forge
  154. libtiff 4.3.0 hf544144_0 conda-forge
  155. libuuid 2.32.1 h7f98852_1000 conda-forge
  156. libvorbis 1.3.7 h9c3ff4c_0 conda-forge
  157. libwebp-base 1.2.1 h7f98852_0 conda-forge
  158. libxcb 1.13 h7f98852_1003 conda-forge
  159. libxkbcommon 1.0.3 he3ba5ed_0 conda-forge
  160. libxml2 2.9.12 h72842e0_0 conda-forge
  161. libzip 1.8.0 h4de3113_0 conda-forge
  162. libzopfli 1.0.3 h9c3ff4c_0 conda-forge
  163. llvm-openmp 12.0.1 h4bd325d_1 conda-forge
  164. locket 0.2.0 py_2 conda-forge
  165. loguru 0.5.3 py39hf3d152e_2 conda-forge
  166. lz4-c 1.9.3 h9c3ff4c_1 conda-forge
  167. magma 2.5.4 ha9b7cf9_2 conda-forge
  168. markdown 3.3.4 pyhd8ed1ab_0 conda-forge
  169. markupsafe 2.0.1 py39h3811e60_0 conda-forge
  170. matplotlib 3.4.3 py39hf3d152e_0 conda-forge
  171. matplotlib-base 3.4.3 py39h2fa2bec_0 conda-forge
  172. mkl 2020.4 h726a3e6_304 conda-forge
  173. more-itertools 8.8.0 pyhd8ed1ab_0 conda-forge
  174. multidict 5.1.0 py39h3811e60_1 conda-forge
  175. munch 2.5.0 py_0 conda-forge
  176. murmurhash 1.0.5 py39he80948d_0 conda-forge
  177. mysql-common 8.0.25 ha770c72_2 conda-forge
  178. mysql-libs 8.0.25 hfa10184_2 conda-forge
  179. nccl 2.10.3.1 h97a9cb7_0 conda-forge
  180. ncurses 6.2 h58526e2_4 conda-forge
  181. nettle 3.6 he412f7d_0 conda-forge
  182. networkx 2.6.2 pyhd8ed1ab_0 conda-forge
  183. ninja 1.10.2 h4bd325d_0 conda-forge
  184. nspr 4.30 h9c3ff4c_0 conda-forge
  185. nss 3.69 hb5efdd6_0 conda-forge
  186. numpy 1.21.1 py39hdbf815f_0 conda-forge
  187. oauthlib 3.1.1 pyhd8ed1ab_0 conda-forge
  188. olefile 0.46 pyh9f0ad1d_1 conda-forge
  189. opencv 4.5.2 py39hf3d152e_0 conda-forge
  190. openh264 2.1.1 h780b84a_0 conda-forge
  191. openjpeg 2.4.0 hb52868f_1 conda-forge
  192. openssl 1.1.1k h7f98852_1 conda-forge
  193. opt_einsum 3.3.0 pyhd8ed1ab_1 conda-forge
  194. packaging 21.0 pyhd8ed1ab_0 conda-forge
  195. pandas 1.3.1 py39hde0f152_0 conda-forge
  196. partd 1.2.0 pyhd8ed1ab_0 conda-forge
  197. pathy 0.6.0 pyhd8ed1ab_0 conda-forge
  198. pcre 8.45 h9c3ff4c_0 conda-forge
  199. pillow 8.2.0 py39hf95b381_1 conda-forge
  200. pip 20.3.4 pyhd8ed1ab_0 conda-forge
  201. pixman 0.40.0 h36c2ea0_0 conda-forge
  202. pluggy 0.13.1 py39hf3d152e_4 conda-forge
  203. pooch 1.4.0 pyhd8ed1ab_0 conda-forge
  204. poppler 21.03.0 h93df280_0 conda-forge
  205. poppler-data 0.4.10 0 conda-forge
  206. postgresql 13.3 h2510834_0 conda-forge
  207. preshed 3.0.5 py39he80948d_1 conda-forge
  208. pretrainedmodels 0.7.4 pyhd8ed1ab_2 conda-forge
  209. proj 8.0.1 h277dcde_0 conda-forge
  210. protobuf 3.15.8 py39he80948d_0 conda-forge
  211. pthread-stubs 0.4 h36c2ea0_1001 conda-forge
  212. py 1.10.0 pyhd3deb0d_0 conda-forge
  213. py-opencv 4.5.2 py39hef51801_0 conda-forge
  214. pyasn1 0.4.8 py_0 conda-forge
  215. pyasn1-modules 0.2.7 py_0 conda-forge
  216. pycparser 2.20 pyh9f0ad1d_2 conda-forge
  217. pydantic 1.8.2 py39h3811e60_0 conda-forge
  218. pydap 3.2.2 pyh9f0ad1d_1001 conda-forge
  219. pydeprecate 0.3.1 pyhd8ed1ab_0 conda-forge
  220. pyepsg 0.4.0 py_0 conda-forge
  221. pygeos 0.10.1 py39ha61afbd_0 conda-forge
  222. pyjwt 2.1.0 pyhd8ed1ab_0 conda-forge
  223. pyopenssl 20.0.1 pyhd8ed1ab_0 conda-forge
  224. pyparsing 2.4.7 pyh9f0ad1d_0 conda-forge
  225. pyqt 5.12.3 py39hf3d152e_7 conda-forge
  226. pyqt-impl 5.12.3 py39h0fcd23e_7 conda-forge
  227. pyqt5-sip 4.19.18 py39he80948d_7 conda-forge
  228. pyqtchart 5.12 py39h0fcd23e_7 conda-forge
  229. pyqtwebengine 5.12.1 py39h0fcd23e_7 conda-forge
  230. pysocks 1.7.1 py39hf3d152e_3 conda-forge
  231. pytest 6.2.4 py39hf3d152e_0 conda-forge
  232. python 3.9.6 h49503c6_1_cpython conda-forge
  233. python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge
  234. python-flatbuffers 1.12 pyhd8ed1ab_1 conda-forge
  235. python_abi 3.9 2_cp39 conda-forge
  236. pytorch 1.8.0 cuda111py39h37e5b68_1 conda-forge
  237. pytorch-lightning 1.4.1 pyhd8ed1ab_0 conda-forge
  238. pytz 2021.1 pyhd8ed1ab_0 conda-forge
  239. pyu2f 0.1.5 pyhd8ed1ab_0 conda-forge
  240. pywavelets 1.1.1 py39hce5d2b2_3 conda-forge
  241. pyyaml 5.4.1 py39h3811e60_0 conda-forge
  242. qt 5.12.9 hda022c4_4 conda-forge
  243. rasterio 1.2.6 py39hbc4e497_2 conda-forge
  244. re2 2021.04.01 h9c3ff4c_0 conda-forge
  245. readline 8.1 h46c0cb4_0 conda-forge
  246. requests 2.26.0 pyhd8ed1ab_0 conda-forge
  247. requests-oauthlib 1.3.0 pyh9f0ad1d_0 conda-forge
  248. rsa 4.7.2 pyh44b312d_0 conda-forge
  249. scikit-image 0.18.2 py39hde0f152_0 conda-forge
  250. scikit-learn 0.24.2 py39h4dfa638_1 conda-forge
  251. scipy 1.7.1 py39hee8e79c_0 conda-forge
  252. segmentation-models-pytorch 0.2.0 pyhd8ed1ab_0 conda-forge
  253. setuptools 57.4.0 py39hf3d152e_0 conda-forge
  254. shapely 1.7.1 py39ha61afbd_5 conda-forge
  255. shellingham 1.4.0 pyh44b312d_0 conda-forge
  256. six 1.16.0 pyh6c4a22f_0 conda-forge
  257. sleef 3.5.1 h7f98852_1 conda-forge
  258. smart_open 5.1.0 pyhd8ed1ab_1 conda-forge
  259. snappy 1.1.8 he1b5a44_3 conda-forge
  260. snuggs 1.4.7 py_0 conda-forge
  261. soupsieve 2.0.1 py_1 conda-forge
  262. spacy 3.1.1 py39h5472131_0 conda-forge
  263. spacy-legacy 3.0.8 pyhd8ed1ab_0 conda-forge
  264. sqlite 3.36.0 h9cd32fc_0 conda-forge
  265. srsly 2.4.1 py39he80948d_0 conda-forge
  266. tensorboard 2.4.1 pyhd8ed1ab_0 conda-forge
  267. tensorboard-plugin-wit 1.8.0 pyh44b312d_0 conda-forge
  268. tensorflow 2.4.1 py39hf3d152e_0 conda-forge
  269. tensorflow-base 2.4.1 py39h23a8cbf_0 conda-forge
  270. tensorflow-estimator 2.4.0 pyh9656e83_0 conda-forge
  271. termcolor 1.1.0 py_2 conda-forge
  272. thinc 8.0.8 py39h5472131_0 conda-forge
  273. threadpoolctl 2.2.0 pyh8a188c0_0 conda-forge
  274. tifffile 2021.8.8 pyhd8ed1ab_0 conda-forge
  275. tiledb 2.3.2 he87e0bf_0 conda-forge
  276. timm 0.4.12 py_0 fastai
  277. tk 8.6.10 h21135ba_1 conda-forge
  278. toml 0.10.2 pyhd8ed1ab_0 conda-forge
  279. toolz 0.11.1 py_0 conda-forge
  280. torchmetrics 0.5.0 pyhd8ed1ab_0 conda-forge
  281. torchvision 0.9.1 py39cuda111hcd06603_1_cuda conda-forge
  282. tornado 6.1 py39h3811e60_1 conda-forge
  283. tqdm 4.62.0 pyhd8ed1ab_0 conda-forge
  284. ttach 0.0.3 pypi_0 pypi
  285. typer 0.3.2 pyhd8ed1ab_0 conda-forge
  286. typing-extensions 3.10.0.0 hd8ed1ab_0 conda-forge
  287. typing_extensions 3.10.0.0 pyha770c72_0 conda-forge
  288. tzcode 2021a h7f98852_2 conda-forge
  289. tzdata 2021a he74cb21_1 conda-forge
  290. urllib3 1.26.6 pyhd8ed1ab_0 conda-forge
  291. wasabi 0.8.2 pyh44b312d_0 conda-forge
  292. webob 1.8.7 pyhd8ed1ab_0 conda-forge
  293. werkzeug 2.0.1 pyhd8ed1ab_0 conda-forge
  294. wheel 0.37.0 pyhd8ed1ab_1 conda-forge
  295. wrapt 1.12.1 py39h3811e60_3 conda-forge
  296. x264 1!161.3030 h7f98852_1 conda-forge
  297. xarray 0.19.0 pyhd8ed1ab_1 conda-forge
  298. xerces-c 3.2.3 h9d8b166_2 conda-forge
  299. xorg-kbproto 1.0.7 h7f98852_1002 conda-forge
  300. xorg-libice 1.0.10 h7f98852_0 conda-forge
  301. xorg-libsm 1.2.3 hd9c2040_1000 conda-forge
  302. xorg-libx11 1.7.2 h7f98852_0 conda-forge
  303. xorg-libxau 1.0.9 h7f98852_0 conda-forge
  304. xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge
  305. xorg-libxext 1.3.4 h7f98852_1 conda-forge
  306. xorg-libxrender 0.9.10 h7f98852_1003 conda-forge
  307. xorg-renderproto 0.11.1 h7f98852_1002 conda-forge
  308. xorg-xextproto 7.3.0 h7f98852_1002 conda-forge
  309. xorg-xproto 7.0.31 h7f98852_1007 conda-forge
  310. xz 5.2.5 h516909a_1 conda-forge
  311. yaml 0.2.5 h516909a_0 conda-forge
  312. yarl 1.6.3 py39h3811e60_2 conda-forge
  313. zfp 0.5.5 h9c3ff4c_5 conda-forge
  314. zipp 3.5.0 pyhd8ed1ab_0 conda-forge
  315. zlib 1.2.11 h516909a_1010 conda-forge
  316. zstd 1.5.0 ha95c52a_0 conda-forge
  317. + echo '######################################'
  318. ######################################
  319. + echo 'Unpacking submission...'
  320. Unpacking submission...
  321. + unzip ./submission/submission.zip -d ./
  322. Archive: ./submission/submission.zip
  323. creating: ./assets/
  324. inflating: ./assets/flood_model.py
  325. inflating: ./assets/flood_model.ckpt
  326. inflating: ./main.py
  327. creating: ./assets/__pycache__/
  328. inflating: ./assets/__pycache__/flood_model.cpython-38.pyc
  329. inflating: ./assets/__pycache__/__init__.cpython-38.pyc
  330. + ls -alh
  331. total 28K
  332. drwxr-xr-x 1 appuser appuser 4.0K Aug 17 06:53 .
  333. drwxr-xr-x 1 root root 4.0K Aug 17 06:53 ..
  334. drwxrwxr-x 3 appuser appuser 4.0K Aug 13 12:34 assets
  335. drwxrwxrwx 2 appuser appuser 4.0K Aug 17 06:53 data
  336. -rw-r--r-- 1 appuser appuser 1.1K Aug 16 16:56 entrypoint.sh
  337. -rw-rw-r-- 1 appuser appuser 2.5K Aug 13 13:47 main.py
  338. drwxr-xr-x 2 appuser appuser 4.0K Aug 16 17:10 scripts
  339. drwxrwxrwx 2 appuser appuser 4.0K Aug 17 06:53 submission
  340. drwxr-xr-x 2 appuser appuser 4.0K Aug 16 17:10 tests
  341. + '[' -f main.py ']'
  342. + echo 'Running submission with Python'
  343. Running submission with Python
  344. + conda run --no-capture-output -n condaenv python main.py
  345. /srv/conda/envs/condaenv/lib/python3.9/site-packages/pretrainedmodels/models/dpn.py:255: SyntaxWarning: "is" with a literal. Did you mean "=="?
  346. if block_type is 'proj':
  347. /srv/conda/envs/condaenv/lib/python3.9/site-packages/pretrainedmodels/models/dpn.py:258: SyntaxWarning: "is" with a literal. Did you mean "=="?
  348. elif block_type is 'down':
  349. /srv/conda/envs/condaenv/lib/python3.9/site-packages/pretrainedmodels/models/dpn.py:262: SyntaxWarning: "is" with a literal. Did you mean "=="?
  350. assert block_type is 'normal'
  351. 2021-08-17 06:53:48.423 | INFO | __main__:main:76 - Found 358 test chip_ids. Generating predictions.
  352.  
  353. 0%| | 0/358 [00:00<?, ?it/s]2021-08-17 06:53:48.427 | INFO | __main__:make_prediction:33 - Loading model
  354. Downloading: "https://download.pytorch.org/models/resnet34-333f7ec4.pth" to /home/appuser/.cache/torch/hub/checkpoints/resnet34-333f7ec4.pth
  355.  
  356. 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>
  357.  
  358. 0%| | 0/358 [00:20<?, ?it/s]
  359. Traceback (most recent call last):
  360. File "/srv/conda/envs/condaenv/lib/python3.9/urllib/request.py", line 1346, in do_open
  361. h.request(req.get_method(), req.selector, req.data, headers,
  362. File "/srv/conda/envs/condaenv/lib/python3.9/http/client.py", line 1257, in request
  363. self._send_request(method, url, body, headers, encode_chunked)
  364. File "/srv/conda/envs/condaenv/lib/python3.9/http/client.py", line 1303, in _send_request
  365. self.endheaders(body, encode_chunked=encode_chunked)
  366. File "/srv/conda/envs/condaenv/lib/python3.9/http/client.py", line 1252, in endheaders
  367. self._send_output(message_body, encode_chunked=encode_chunked)
  368. File "/srv/conda/envs/condaenv/lib/python3.9/http/client.py", line 1012, in _send_output
  369. self.send(msg)
  370. File "/srv/conda/envs/condaenv/lib/python3.9/http/client.py", line 952, in send
  371. self.connect()
  372. File "/srv/conda/envs/condaenv/lib/python3.9/http/client.py", line 1419, in connect
  373. super().connect()
  374. File "/srv/conda/envs/condaenv/lib/python3.9/http/client.py", line 923, in connect
  375. self.sock = self._create_connection(
  376. File "/srv/conda/envs/condaenv/lib/python3.9/socket.py", line 822, in create_connection
  377. for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  378. File "/srv/conda/envs/condaenv/lib/python3.9/socket.py", line 953, in getaddrinfo
  379. for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
  380. socket.gaierror: [Errno -3] Temporary failure in name resolution
  381.  
  382. During handling of the above exception, another exception occurred:
  383.  
  384. Traceback (most recent call last):
  385. File "/codeexecution/main.py", line 85, in <module>
  386. typer.run(main)
  387. File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/typer/main.py", line 859, in run
  388. app()
  389. File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/typer/main.py", line 214, in __call__
  390. return get_command(self)(*args, **kwargs)
  391. File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/click/core.py", line 829, in __call__
  392. return self.main(*args, **kwargs)
  393. File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/click/core.py", line 782, in main
  394. rv = self.invoke(ctx)
  395. File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
  396. return ctx.invoke(self.callback, **ctx.params)
  397. File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/click/core.py", line 610, in invoke
  398. return callback(*args, **kwargs)
  399. File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/typer/main.py", line 497, in wrapper
  400. return callback(**use_params) # type: ignore
  401. File "/codeexecution/main.py", line 79, in main
  402. output_data = make_prediction(chip_id)
  403. File "/codeexecution/main.py", line 35, in make_prediction
  404. model = FloodModel.load_from_checkpoint(ASSETS_DIRECTORY / "flood_model.ckpt")
  405. File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/pytorch_lightning/core/saving.py", line 153, in load_from_checkpoint
  406. model = cls._load_model_state(checkpoint, strict=strict, **kwargs)
  407. File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/pytorch_lightning/core/saving.py", line 195, in _load_model_state
  408. model = cls(**_cls_kwargs)
  409. File "/codeexecution/assets/flood_model.py", line 148, in __init__
  410. self.model = self._prepare_model()
  411. File "/codeexecution/assets/flood_model.py", line 264, in _prepare_model
  412. unet_model = smp.Unet(
  413. File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/segmentation_models_pytorch/unet/model.py", line 65, in __init__
  414. self.encoder = get_encoder(
  415. File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/segmentation_models_pytorch/encoders/__init__.py", line 62, in get_encoder
  416. encoder.load_state_dict(model_zoo.load_url(settings["url"]))
  417. File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/torch/hub.py", line 524, in load_state_dict_from_url
  418. download_url_to_file(url, cached_file, hash_prefix, progress=progress)
  419. File "/srv/conda/envs/condaenv/lib/python3.9/site-packages/torch/hub.py", line 394, in download_url_to_file
  420. u = urlopen(req)
  421. File "/srv/conda/envs/condaenv/lib/python3.9/urllib/request.py", line 214, in urlopen
  422. return opener.open(url, data, timeout)
  423. File "/srv/conda/envs/condaenv/lib/python3.9/urllib/request.py", line 517, in open
  424. response = self._open(req, data)
  425. File "/srv/conda/envs/condaenv/lib/python3.9/urllib/request.py", line 534, in _open
  426. result = self._call_chain(self.handle_open, protocol, protocol +
  427. File "/srv/conda/envs/condaenv/lib/python3.9/urllib/request.py", line 494, in _call_chain
  428. result = func(*args)
  429. File "/srv/conda/envs/condaenv/lib/python3.9/urllib/request.py", line 1389, in https_open
  430. return self.do_open(http.client.HTTPSConnection, req,
  431. File "/srv/conda/envs/condaenv/lib/python3.9/urllib/request.py", line 1349, in do_open
  432. raise URLError(err)
  433. urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
  434. ERROR conda.cli.main_run:execute(33): Subprocess for 'conda run ['python', 'main.py']' command failed. (See above for error)
  435.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement