Git Product home page Git Product logo

Comments (6)

khornlund avatar khornlund commented on May 30, 2024

I don't know, but it's possible it's an issue caused by new versions of the dependencies. Here are the versions from my environment, you could try editing environment.yml to use these versions

In particular try setting the version of albumentations, as that's what seems to be throwing the error

# packages in environment at /home/khornlund/.conda/envs/sever:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main  
absl-py                   0.8.0                    py36_0    conda-forge
albumentations            0.3.3                    pypi_0    pypi
apex                      0.1                      pypi_0    pypi
asn1crypto                0.24.0                py36_1003    conda-forge
astor                     0.7.1                      py_0    conda-forge
atomicwrites              1.3.0                      py_0    conda-forge
attrs                     19.1.0                     py_0    conda-forge
autopep8                  1.4.4                      py_0    conda-forge
backcall                  0.1.0                      py_0    conda-forge
backports                 1.0                        py_2    conda-forge
backports.weakref         1.0rc1                   py36_1    conda-forge
binutils_impl_linux-64    2.31.1               h6176602_1  
binutils_linux-64         2.31.1               h6176602_9    conda-forge
bleach                    1.5.0                    py36_0    conda-forge
bzip2                     1.0.8                h516909a_1    conda-forge
c-ares                    1.15.0            h516909a_1001    conda-forge
ca-certificates           2020.4.5.1           hecc5488_0    conda-forge
cachetools                3.1.1                      py_0    conda-forge
cairo                     1.16.0            hfb77d84_1002    conda-forge
certifi                   2020.4.5.1       py36h9f0ad1d_0    conda-forge
cffi                      1.12.3           py36h8022711_0    conda-forge
chardet                   3.0.4                 py36_1003    conda-forge
click                     7.0                        py_0    conda-forge
cloudpickle               1.2.2                      py_0    conda-forge
cryptography              2.7              py36h72c5cf5_0    conda-forge
cudatoolkit               10.0.130                      0  
cycler                    0.10.0                     py_1    conda-forge
cytoolz                   0.10.0           py36h516909a_0    conda-forge
dask-core                 2.4.0                      py_0    conda-forge
dbus                      1.13.6               he372182_0    conda-forge
decorator                 4.4.0                      py_0    conda-forge
defusedxml                0.5.0                      py_1    conda-forge
docutils                  0.15.2                   py36_0    conda-forge
efficientnet-pytorch      0.4.0                    pypi_0    pypi
entrypoints               0.3                   py36_1000    conda-forge
expat                     2.2.5             he1b5a44_1003    conda-forge
ffmpeg                    4.1.3                h167e202_0    conda-forge
flake8                    3.7.8                    py36_1    conda-forge
fontconfig                2.13.1            h86ecdb6_1001    conda-forge
freetype                  2.10.0               he983fc9_1    conda-forge
future                    0.17.1                py36_1000    conda-forge
gast                      0.3.2                      py_0    conda-forge
gcc_impl_linux-64         7.3.0                habb00fd_1    conda-forge
gcc_linux-64              7.3.0                h553295d_9    conda-forge
geos                      3.7.2                he1b5a44_2    conda-forge
gettext                   0.19.8.1          hc5be6a0_1002    conda-forge
giflib                    5.1.9                h516909a_0    conda-forge
glib                      2.58.3            h6f030ca_1002    conda-forge
gmp                       6.1.2             hf484d3e_1000    conda-forge
gnutls                    3.6.5             hd3a4fd2_1002    conda-forge
google-api-core           1.17.0           py36h9f0ad1d_0    conda-forge
google-auth               1.14.0             pyh9f0ad1d_0    conda-forge
google-cloud-core         1.3.0                      py_0    conda-forge
google-cloud-storage      1.27.0             pyh9f0ad1d_0    conda-forge
google-pasta              0.1.7                      py_0    conda-forge
google-resumable-media    0.5.0                      py_1    conda-forge
googleapis-common-protos  1.51.0           py36h9f0ad1d_2    conda-forge
graphite2                 1.3.13            hf484d3e_1000    conda-forge
grpcio                    1.23.0           py36he9ae1f9_0    conda-forge
gst-plugins-base          1.14.5               h0935bb2_0    conda-forge
gstreamer                 1.14.5               h36ae1b5_0    conda-forge
gxx_impl_linux-64         7.3.0                hdf63c60_1    conda-forge
gxx_linux-64              7.3.0                h553295d_9    conda-forge
h5py                      2.9.0           py36h31fdc65_1000    conda-forge
harfbuzz                  2.4.0                h9f30f68_3    conda-forge
hdf5                      1.10.4          nompi_h3c11f04_1106    conda-forge
horovod                   0.18.1                   pypi_0    pypi
html5lib                  0.9999999                py36_0    conda-forge
icu                       64.2                 he1b5a44_1    conda-forge
idna                      2.8                   py36_1000    conda-forge
imageio                   2.5.0                    py36_0    conda-forge
imgaug                    0.2.6                    pypi_0    pypi
importlib_metadata        0.23                     py36_0    conda-forge
intel-openmp              2019.4                      243  
ipykernel                 5.1.2            py36h5ca1d4c_0    conda-forge
ipython                   7.8.0            py36h5ca1d4c_0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
ipywidgets                7.5.1                      py_0    conda-forge
jasper                    1.900.1           h07fcdf6_1006    conda-forge
jedi                      0.15.1                   py36_0    conda-forge
jinja2                    2.10.1                     py_0    conda-forge
joblib                    0.13.2                     py_0    conda-forge
jpeg                      9c                h14c3975_1001    conda-forge
jsonschema                3.0.2                    py36_0    conda-forge
jupyter                   1.0.0                      py_2    conda-forge
jupyter_client            5.3.3                      py_0    conda-forge
jupyter_console           6.0.0                      py_0    conda-forge
jupyter_core              4.4.0                      py_0    conda-forge
kaggle                    1.5.6                    py36_0    conda-forge
keras-applications        1.0.8                      py_1    conda-forge
keras-preprocessing       1.1.0                      py_0    conda-forge
kiwisolver                1.1.0            py36hc9558a2_0    conda-forge
krb5                      1.16.3            h05b26f9_1001    conda-forge
lame                      3.100             h14c3975_1001    conda-forge
libblas                   3.8.0               12_openblas    conda-forge
libcblas                  3.8.0               12_openblas    conda-forge
libcurl                   7.65.3               hda55be3_0    conda-forge
libedit                   3.1.20170329      hf8c457e_1001    conda-forge
libffi                    3.2.1             he1b5a44_1006    conda-forge
libgcc-ng                 9.1.0                hdf63c60_0  
libgfortran-ng            7.3.0                hdf63c60_0  
libiconv                  1.15              h516909a_1005    conda-forge
liblapack                 3.8.0               12_openblas    conda-forge
liblapacke                3.8.0               12_openblas    conda-forge
libopenblas               0.3.7                h6e990d7_1    conda-forge
libpng                    1.6.37               hed695b0_0    conda-forge
libprotobuf               3.9.2                h8b12597_0    conda-forge
libsodium                 1.0.17               h516909a_0    conda-forge
libssh2                   1.8.2                h22169c7_2    conda-forge
libstdcxx-ng              9.1.0                hdf63c60_0  
libtiff                   4.0.10            h57b8799_1003    conda-forge
libuuid                   2.32.1            h14c3975_1000    conda-forge
libwebp                   1.0.2                h576950b_1    conda-forge
libxcb                    1.13              h14c3975_1002    conda-forge
libxml2                   2.9.9                hee79883_5    conda-forge
llvmlite                  0.29.0           py36hfd453ef_1    conda-forge
lz4-c                     1.8.3             he1b5a44_1001    conda-forge
markdown                  3.1.1                      py_0    conda-forge
markupsafe                1.1.1            py36h14c3975_0    conda-forge
matplotlib                3.1.1                    py36_1    conda-forge
matplotlib-base           3.1.1            py36he7580a8_1    conda-forge
mccabe                    0.6.1                      py_1    conda-forge
mistune                   0.8.4           py36h14c3975_1000    conda-forge
mkl                       2019.4                      243  
mock                      3.0.5                    py36_0    conda-forge
more-itertools            7.2.0                      py_0    conda-forge
munch                     2.3.2                    pypi_0    pypi
nbconvert                 5.6.0                    py36_1    conda-forge
nbformat                  4.4.0                      py_1    conda-forge
ncurses                   6.1               hf484d3e_1002    conda-forge
nettle                    3.4.1             h1bed415_1002    conda-forge
networkx                  2.3                        py_0    conda-forge
ninja                     1.9.0                h6bb024c_0    conda-forge
notebook                  6.0.1                    py36_0    conda-forge
numba                     0.45.1           py36hb3f55d8_0    conda-forge
numpy                     1.17.2           py36h95a1406_0    conda-forge
olefile                   0.46                       py_0    conda-forge
opencv                    4.1.0            py36h5517eff_4    conda-forge
opencv-python-headless    4.1.1.26                 pypi_0    pypi
openh264                  1.8.0             hdbcaa40_1000    conda-forge
openssl                   1.1.1f               h516909a_0    conda-forge
packaging                 19.2                       py_0    conda-forge
pandas                    0.25.1           py36hb3f55d8_0    conda-forge
pandoc                    2.7.3                         0    conda-forge
pandocfilters             1.4.2                      py_1    conda-forge
parso                     0.5.1                      py_0    conda-forge
patsy                     0.5.1                      py_0    conda-forge
pcre                      8.41              hf484d3e_1003    conda-forge
pexpect                   4.7.0                    py36_0    conda-forge
pickleshare               0.7.5                 py36_1000    conda-forge
pillow                    6.1.0            py36h6b7be26_1    conda-forge
pip                       19.2.3                   py36_0    conda-forge
pixman                    0.38.0            h516909a_1003    conda-forge
pluggy                    0.12.0                     py_0    conda-forge
pretrainedmodels          0.7.4                    pypi_0    pypi
prometheus_client         0.7.1                      py_0    conda-forge
prompt_toolkit            2.0.9                      py_0    conda-forge
protobuf                  3.9.2            py36he1b5a44_0    conda-forge
psutil                    5.6.3                    pypi_0    pypi
pthread-stubs             0.4               h14c3975_1001    conda-forge
ptyprocess                0.6.0                   py_1001    conda-forge
py                        1.8.0                      py_0    conda-forge
pyasn1                    0.4.8                      py_0    conda-forge
pyasn1-modules            0.2.7                      py_0    conda-forge
pycodestyle               2.5.0                      py_0    conda-forge
pycparser                 2.19                     py36_1    conda-forge
pyflakes                  2.1.1                      py_0    conda-forge
pygments                  2.4.2                      py_0    conda-forge
pyopenssl                 19.0.0                   py36_0    conda-forge
pyparsing                 2.4.2                      py_0    conda-forge
pyqt                      5.9.2            py36hcca6a23_4    conda-forge
pyrsistent                0.15.4           py36h516909a_0    conda-forge
pysocks                   1.7.1                    py36_0    conda-forge
pytest                    5.0.1                    py36_0    conda-forge
python                    3.6.7             h357f687_1005    conda-forge
python-dateutil           2.8.0                      py_0    conda-forge
python-slugify            3.0.3                      py_0    conda-forge
python_abi                3.6                     1_cp36m    conda-forge
pytorch                   1.2.0           py3.6_cuda10.0.130_cudnn7.6.2_0    pytorch
pytz                      2019.2                     py_0    conda-forge
pywavelets                1.0.3            py36hd352d35_1    conda-forge
pyyaml                    5.1.2            py36h516909a_0    conda-forge
pyzmq                     18.1.0           py36h1768529_0    conda-forge
qt                        5.9.7                h0c104cb_3    conda-forge
qtconsole                 4.5.5                      py_0    conda-forge
readline                  8.0                  hf8c457e_0    conda-forge
requests                  2.22.0                   py36_1    conda-forge
rope                      0.14.0                     py_0    conda-forge
rsa                       4.0                        py_0    conda-forge
scikit-image              0.15.0           py36hb3f55d8_2    conda-forge
scikit-learn              0.21.3           py36hcdab131_0    conda-forge
scipy                     1.3.1            py36h921218d_2    conda-forge
seaborn                   0.9.0                      py_1    conda-forge
segmentation-models-pytorch 0.0.3                     dev_0    <develop>
send2trash                1.5.0                      py_0    conda-forge
setuptools                41.2.0                   py36_0    conda-forge
sever                     0.0.1                     dev_0    <develop>
shapely                   1.6.4           py36hec07ddf_1006    conda-forge
sip                       4.19.8          py36hf484d3e_1000    conda-forge
six                       1.12.0                py36_1000    conda-forge
sqlite                    3.29.0               hcee41ef_1    conda-forge
statsmodels               0.10.1           py36hc1659b7_0    conda-forge
tensorboard               1.14.0                   py36_0    conda-forge
tensorflow                1.3.0                    py36_0    conda-forge
tensorflow-base           1.14.0          eigen_py36hf4a566f_0  
tensorflow-estimator      1.13.0                     py_0  
termcolor                 1.1.0                      py_2    conda-forge
terminado                 0.8.2                    py36_0    conda-forge
testpath                  0.4.2                   py_1001    conda-forge
text-unidecode            1.2                        py_0    conda-forge
tk                        8.6.9             hed695b0_1003    conda-forge
toolz                     0.10.0                     py_0    conda-forge
torchvision               0.4.0                py36_cu100    pytorch
tornado                   6.0.3            py36h516909a_0    conda-forge
tqdm                      4.36.1                     py_0    conda-forge
traitlets                 4.3.2                 py36_1000    conda-forge
unidecode                 1.1.1                      py_0    conda-forge
urllib3                   1.24.3                   py36_0    conda-forge
wcwidth                   0.1.7                      py_1    conda-forge
webencodings              0.5.1                      py_1    conda-forge
werkzeug                  0.16.0                     py_0    conda-forge
wheel                     0.33.6                   py36_0    conda-forge
widgetsnbextension        3.5.1                    py36_0    conda-forge
wrapt                     1.11.2           py36h516909a_0    conda-forge
x264                      1!152.20180806       h14c3975_0    conda-forge
xorg-kbproto              1.0.7             h14c3975_1002    conda-forge
xorg-libice               1.0.10               h516909a_0    conda-forge
xorg-libsm                1.2.3             h84519dc_1000    conda-forge
xorg-libx11               1.6.8                h516909a_0    conda-forge
xorg-libxau               1.0.9                h14c3975_0    conda-forge
xorg-libxdmcp             1.1.3                h516909a_0    conda-forge
xorg-libxext              1.3.4                h516909a_0    conda-forge
xorg-libxrender           0.9.10            h516909a_1002    conda-forge
xorg-renderproto          0.11.1            h14c3975_1002    conda-forge
xorg-xextproto            7.3.0             h14c3975_1002    conda-forge
xorg-xproto               7.0.31            h14c3975_1007    conda-forge
xz                        5.2.4             h14c3975_1001    conda-forge
yaml                      0.1.7             h14c3975_1001    conda-forge
zeromq                    4.3.2                he1b5a44_2    conda-forge
zipp                      0.6.0                      py_0    conda-forge
zlib                      1.2.11            h516909a_1006    conda-forge
zstd                      1.4.0                h3b9ef0a_0    conda-forge

from severstal-steel-defect-detection.

jyothir07 avatar jyothir07 commented on May 30, 2024

I don't know, but it's possible it's an issue caused by new versions of the dependencies. Here are the versions from my environment, you could try editing environment.yml to use these versions

In particular try setting the version of albumentations, as that's what seems to be throwing the error

# packages in environment at /home/khornlund/.conda/envs/sever:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main  
absl-py                   0.8.0                    py36_0    conda-forge
albumentations            0.3.3                    pypi_0    pypi
apex                      0.1                      pypi_0    pypi
asn1crypto                0.24.0                py36_1003    conda-forge
astor                     0.7.1                      py_0    conda-forge
atomicwrites              1.3.0                      py_0    conda-forge
attrs                     19.1.0                     py_0    conda-forge
autopep8                  1.4.4                      py_0    conda-forge
backcall                  0.1.0                      py_0    conda-forge
backports                 1.0                        py_2    conda-forge
backports.weakref         1.0rc1                   py36_1    conda-forge
binutils_impl_linux-64    2.31.1               h6176602_1  
binutils_linux-64         2.31.1               h6176602_9    conda-forge
bleach                    1.5.0                    py36_0    conda-forge
bzip2                     1.0.8                h516909a_1    conda-forge
c-ares                    1.15.0            h516909a_1001    conda-forge
ca-certificates           2020.4.5.1           hecc5488_0    conda-forge
cachetools                3.1.1                      py_0    conda-forge
cairo                     1.16.0            hfb77d84_1002    conda-forge
certifi                   2020.4.5.1       py36h9f0ad1d_0    conda-forge
cffi                      1.12.3           py36h8022711_0    conda-forge
chardet                   3.0.4                 py36_1003    conda-forge
click                     7.0                        py_0    conda-forge
cloudpickle               1.2.2                      py_0    conda-forge
cryptography              2.7              py36h72c5cf5_0    conda-forge
cudatoolkit               10.0.130                      0  
cycler                    0.10.0                     py_1    conda-forge
cytoolz                   0.10.0           py36h516909a_0    conda-forge
dask-core                 2.4.0                      py_0    conda-forge
dbus                      1.13.6               he372182_0    conda-forge
decorator                 4.4.0                      py_0    conda-forge
defusedxml                0.5.0                      py_1    conda-forge
docutils                  0.15.2                   py36_0    conda-forge
efficientnet-pytorch      0.4.0                    pypi_0    pypi
entrypoints               0.3                   py36_1000    conda-forge
expat                     2.2.5             he1b5a44_1003    conda-forge
ffmpeg                    4.1.3                h167e202_0    conda-forge
flake8                    3.7.8                    py36_1    conda-forge
fontconfig                2.13.1            h86ecdb6_1001    conda-forge
freetype                  2.10.0               he983fc9_1    conda-forge
future                    0.17.1                py36_1000    conda-forge
gast                      0.3.2                      py_0    conda-forge
gcc_impl_linux-64         7.3.0                habb00fd_1    conda-forge
gcc_linux-64              7.3.0                h553295d_9    conda-forge
geos                      3.7.2                he1b5a44_2    conda-forge
gettext                   0.19.8.1          hc5be6a0_1002    conda-forge
giflib                    5.1.9                h516909a_0    conda-forge
glib                      2.58.3            h6f030ca_1002    conda-forge
gmp                       6.1.2             hf484d3e_1000    conda-forge
gnutls                    3.6.5             hd3a4fd2_1002    conda-forge
google-api-core           1.17.0           py36h9f0ad1d_0    conda-forge
google-auth               1.14.0             pyh9f0ad1d_0    conda-forge
google-cloud-core         1.3.0                      py_0    conda-forge
google-cloud-storage      1.27.0             pyh9f0ad1d_0    conda-forge
google-pasta              0.1.7                      py_0    conda-forge
google-resumable-media    0.5.0                      py_1    conda-forge
googleapis-common-protos  1.51.0           py36h9f0ad1d_2    conda-forge
graphite2                 1.3.13            hf484d3e_1000    conda-forge
grpcio                    1.23.0           py36he9ae1f9_0    conda-forge
gst-plugins-base          1.14.5               h0935bb2_0    conda-forge
gstreamer                 1.14.5               h36ae1b5_0    conda-forge
gxx_impl_linux-64         7.3.0                hdf63c60_1    conda-forge
gxx_linux-64              7.3.0                h553295d_9    conda-forge
h5py                      2.9.0           py36h31fdc65_1000    conda-forge
harfbuzz                  2.4.0                h9f30f68_3    conda-forge
hdf5                      1.10.4          nompi_h3c11f04_1106    conda-forge
horovod                   0.18.1                   pypi_0    pypi
html5lib                  0.9999999                py36_0    conda-forge
icu                       64.2                 he1b5a44_1    conda-forge
idna                      2.8                   py36_1000    conda-forge
imageio                   2.5.0                    py36_0    conda-forge
imgaug                    0.2.6                    pypi_0    pypi
importlib_metadata        0.23                     py36_0    conda-forge
intel-openmp              2019.4                      243  
ipykernel                 5.1.2            py36h5ca1d4c_0    conda-forge
ipython                   7.8.0            py36h5ca1d4c_0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
ipywidgets                7.5.1                      py_0    conda-forge
jasper                    1.900.1           h07fcdf6_1006    conda-forge
jedi                      0.15.1                   py36_0    conda-forge
jinja2                    2.10.1                     py_0    conda-forge
joblib                    0.13.2                     py_0    conda-forge
jpeg                      9c                h14c3975_1001    conda-forge
jsonschema                3.0.2                    py36_0    conda-forge
jupyter                   1.0.0                      py_2    conda-forge
jupyter_client            5.3.3                      py_0    conda-forge
jupyter_console           6.0.0                      py_0    conda-forge
jupyter_core              4.4.0                      py_0    conda-forge
kaggle                    1.5.6                    py36_0    conda-forge
keras-applications        1.0.8                      py_1    conda-forge
keras-preprocessing       1.1.0                      py_0    conda-forge
kiwisolver                1.1.0            py36hc9558a2_0    conda-forge
krb5                      1.16.3            h05b26f9_1001    conda-forge
lame                      3.100             h14c3975_1001    conda-forge
libblas                   3.8.0               12_openblas    conda-forge
libcblas                  3.8.0               12_openblas    conda-forge
libcurl                   7.65.3               hda55be3_0    conda-forge
libedit                   3.1.20170329      hf8c457e_1001    conda-forge
libffi                    3.2.1             he1b5a44_1006    conda-forge
libgcc-ng                 9.1.0                hdf63c60_0  
libgfortran-ng            7.3.0                hdf63c60_0  
libiconv                  1.15              h516909a_1005    conda-forge
liblapack                 3.8.0               12_openblas    conda-forge
liblapacke                3.8.0               12_openblas    conda-forge
libopenblas               0.3.7                h6e990d7_1    conda-forge
libpng                    1.6.37               hed695b0_0    conda-forge
libprotobuf               3.9.2                h8b12597_0    conda-forge
libsodium                 1.0.17               h516909a_0    conda-forge
libssh2                   1.8.2                h22169c7_2    conda-forge
libstdcxx-ng              9.1.0                hdf63c60_0  
libtiff                   4.0.10            h57b8799_1003    conda-forge
libuuid                   2.32.1            h14c3975_1000    conda-forge
libwebp                   1.0.2                h576950b_1    conda-forge
libxcb                    1.13              h14c3975_1002    conda-forge
libxml2                   2.9.9                hee79883_5    conda-forge
llvmlite                  0.29.0           py36hfd453ef_1    conda-forge
lz4-c                     1.8.3             he1b5a44_1001    conda-forge
markdown                  3.1.1                      py_0    conda-forge
markupsafe                1.1.1            py36h14c3975_0    conda-forge
matplotlib                3.1.1                    py36_1    conda-forge
matplotlib-base           3.1.1            py36he7580a8_1    conda-forge
mccabe                    0.6.1                      py_1    conda-forge
mistune                   0.8.4           py36h14c3975_1000    conda-forge
mkl                       2019.4                      243  
mock                      3.0.5                    py36_0    conda-forge
more-itertools            7.2.0                      py_0    conda-forge
munch                     2.3.2                    pypi_0    pypi
nbconvert                 5.6.0                    py36_1    conda-forge
nbformat                  4.4.0                      py_1    conda-forge
ncurses                   6.1               hf484d3e_1002    conda-forge
nettle                    3.4.1             h1bed415_1002    conda-forge
networkx                  2.3                        py_0    conda-forge
ninja                     1.9.0                h6bb024c_0    conda-forge
notebook                  6.0.1                    py36_0    conda-forge
numba                     0.45.1           py36hb3f55d8_0    conda-forge
numpy                     1.17.2           py36h95a1406_0    conda-forge
olefile                   0.46                       py_0    conda-forge
opencv                    4.1.0            py36h5517eff_4    conda-forge
opencv-python-headless    4.1.1.26                 pypi_0    pypi
openh264                  1.8.0             hdbcaa40_1000    conda-forge
openssl                   1.1.1f               h516909a_0    conda-forge
packaging                 19.2                       py_0    conda-forge
pandas                    0.25.1           py36hb3f55d8_0    conda-forge
pandoc                    2.7.3                         0    conda-forge
pandocfilters             1.4.2                      py_1    conda-forge
parso                     0.5.1                      py_0    conda-forge
patsy                     0.5.1                      py_0    conda-forge
pcre                      8.41              hf484d3e_1003    conda-forge
pexpect                   4.7.0                    py36_0    conda-forge
pickleshare               0.7.5                 py36_1000    conda-forge
pillow                    6.1.0            py36h6b7be26_1    conda-forge
pip                       19.2.3                   py36_0    conda-forge
pixman                    0.38.0            h516909a_1003    conda-forge
pluggy                    0.12.0                     py_0    conda-forge
pretrainedmodels          0.7.4                    pypi_0    pypi
prometheus_client         0.7.1                      py_0    conda-forge
prompt_toolkit            2.0.9                      py_0    conda-forge
protobuf                  3.9.2            py36he1b5a44_0    conda-forge
psutil                    5.6.3                    pypi_0    pypi
pthread-stubs             0.4               h14c3975_1001    conda-forge
ptyprocess                0.6.0                   py_1001    conda-forge
py                        1.8.0                      py_0    conda-forge
pyasn1                    0.4.8                      py_0    conda-forge
pyasn1-modules            0.2.7                      py_0    conda-forge
pycodestyle               2.5.0                      py_0    conda-forge
pycparser                 2.19                     py36_1    conda-forge
pyflakes                  2.1.1                      py_0    conda-forge
pygments                  2.4.2                      py_0    conda-forge
pyopenssl                 19.0.0                   py36_0    conda-forge
pyparsing                 2.4.2                      py_0    conda-forge
pyqt                      5.9.2            py36hcca6a23_4    conda-forge
pyrsistent                0.15.4           py36h516909a_0    conda-forge
pysocks                   1.7.1                    py36_0    conda-forge
pytest                    5.0.1                    py36_0    conda-forge
python                    3.6.7             h357f687_1005    conda-forge
python-dateutil           2.8.0                      py_0    conda-forge
python-slugify            3.0.3                      py_0    conda-forge
python_abi                3.6                     1_cp36m    conda-forge
pytorch                   1.2.0           py3.6_cuda10.0.130_cudnn7.6.2_0    pytorch
pytz                      2019.2                     py_0    conda-forge
pywavelets                1.0.3            py36hd352d35_1    conda-forge
pyyaml                    5.1.2            py36h516909a_0    conda-forge
pyzmq                     18.1.0           py36h1768529_0    conda-forge
qt                        5.9.7                h0c104cb_3    conda-forge
qtconsole                 4.5.5                      py_0    conda-forge
readline                  8.0                  hf8c457e_0    conda-forge
requests                  2.22.0                   py36_1    conda-forge
rope                      0.14.0                     py_0    conda-forge
rsa                       4.0                        py_0    conda-forge
scikit-image              0.15.0           py36hb3f55d8_2    conda-forge
scikit-learn              0.21.3           py36hcdab131_0    conda-forge
scipy                     1.3.1            py36h921218d_2    conda-forge
seaborn                   0.9.0                      py_1    conda-forge
segmentation-models-pytorch 0.0.3                     dev_0    <develop>
send2trash                1.5.0                      py_0    conda-forge
setuptools                41.2.0                   py36_0    conda-forge
sever                     0.0.1                     dev_0    <develop>
shapely                   1.6.4           py36hec07ddf_1006    conda-forge
sip                       4.19.8          py36hf484d3e_1000    conda-forge
six                       1.12.0                py36_1000    conda-forge
sqlite                    3.29.0               hcee41ef_1    conda-forge
statsmodels               0.10.1           py36hc1659b7_0    conda-forge
tensorboard               1.14.0                   py36_0    conda-forge
tensorflow                1.3.0                    py36_0    conda-forge
tensorflow-base           1.14.0          eigen_py36hf4a566f_0  
tensorflow-estimator      1.13.0                     py_0  
termcolor                 1.1.0                      py_2    conda-forge
terminado                 0.8.2                    py36_0    conda-forge
testpath                  0.4.2                   py_1001    conda-forge
text-unidecode            1.2                        py_0    conda-forge
tk                        8.6.9             hed695b0_1003    conda-forge
toolz                     0.10.0                     py_0    conda-forge
torchvision               0.4.0                py36_cu100    pytorch
tornado                   6.0.3            py36h516909a_0    conda-forge
tqdm                      4.36.1                     py_0    conda-forge
traitlets                 4.3.2                 py36_1000    conda-forge
unidecode                 1.1.1                      py_0    conda-forge
urllib3                   1.24.3                   py36_0    conda-forge
wcwidth                   0.1.7                      py_1    conda-forge
webencodings              0.5.1                      py_1    conda-forge
werkzeug                  0.16.0                     py_0    conda-forge
wheel                     0.33.6                   py36_0    conda-forge
widgetsnbextension        3.5.1                    py36_0    conda-forge
wrapt                     1.11.2           py36h516909a_0    conda-forge
x264                      1!152.20180806       h14c3975_0    conda-forge
xorg-kbproto              1.0.7             h14c3975_1002    conda-forge
xorg-libice               1.0.10               h516909a_0    conda-forge
xorg-libsm                1.2.3             h84519dc_1000    conda-forge
xorg-libx11               1.6.8                h516909a_0    conda-forge
xorg-libxau               1.0.9                h14c3975_0    conda-forge
xorg-libxdmcp             1.1.3                h516909a_0    conda-forge
xorg-libxext              1.3.4                h516909a_0    conda-forge
xorg-libxrender           0.9.10            h516909a_1002    conda-forge
xorg-renderproto          0.11.1            h14c3975_1002    conda-forge
xorg-xextproto            7.3.0             h14c3975_1002    conda-forge
xorg-xproto               7.0.31            h14c3975_1007    conda-forge
xz                        5.2.4             h14c3975_1001    conda-forge
yaml                      0.1.7             h14c3975_1001    conda-forge
zeromq                    4.3.2                he1b5a44_2    conda-forge
zipp                      0.6.0                      py_0    conda-forge
zlib                      1.2.11            h516909a_1006    conda-forge
zstd                      1.4.0                h3b9ef0a_0    conda-forge

Thank you so much for your fast reply. I'll try that

from severstal-steel-defect-detection.

jyothir07 avatar jyothir07 commented on May 30, 2024

I don't know, but it's possible it's an issue caused by new versions of the dependencies. Here are the versions from my environment, you could try editing environment.yml to use these versions

In particular try setting the version of albumentations, as that's what seems to be throwing the error

# packages in environment at /home/khornlund/.conda/envs/sever:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main  
absl-py                   0.8.0                    py36_0    conda-forge
albumentations            0.3.3                    pypi_0    pypi
apex                      0.1                      pypi_0    pypi
asn1crypto                0.24.0                py36_1003    conda-forge
astor                     0.7.1                      py_0    conda-forge
atomicwrites              1.3.0                      py_0    conda-forge
attrs                     19.1.0                     py_0    conda-forge
autopep8                  1.4.4                      py_0    conda-forge
backcall                  0.1.0                      py_0    conda-forge
backports                 1.0                        py_2    conda-forge
backports.weakref         1.0rc1                   py36_1    conda-forge
binutils_impl_linux-64    2.31.1               h6176602_1  
binutils_linux-64         2.31.1               h6176602_9    conda-forge
bleach                    1.5.0                    py36_0    conda-forge
bzip2                     1.0.8                h516909a_1    conda-forge
c-ares                    1.15.0            h516909a_1001    conda-forge
ca-certificates           2020.4.5.1           hecc5488_0    conda-forge
cachetools                3.1.1                      py_0    conda-forge
cairo                     1.16.0            hfb77d84_1002    conda-forge
certifi                   2020.4.5.1       py36h9f0ad1d_0    conda-forge
cffi                      1.12.3           py36h8022711_0    conda-forge
chardet                   3.0.4                 py36_1003    conda-forge
click                     7.0                        py_0    conda-forge
cloudpickle               1.2.2                      py_0    conda-forge
cryptography              2.7              py36h72c5cf5_0    conda-forge
cudatoolkit               10.0.130                      0  
cycler                    0.10.0                     py_1    conda-forge
cytoolz                   0.10.0           py36h516909a_0    conda-forge
dask-core                 2.4.0                      py_0    conda-forge
dbus                      1.13.6               he372182_0    conda-forge
decorator                 4.4.0                      py_0    conda-forge
defusedxml                0.5.0                      py_1    conda-forge
docutils                  0.15.2                   py36_0    conda-forge
efficientnet-pytorch      0.4.0                    pypi_0    pypi
entrypoints               0.3                   py36_1000    conda-forge
expat                     2.2.5             he1b5a44_1003    conda-forge
ffmpeg                    4.1.3                h167e202_0    conda-forge
flake8                    3.7.8                    py36_1    conda-forge
fontconfig                2.13.1            h86ecdb6_1001    conda-forge
freetype                  2.10.0               he983fc9_1    conda-forge
future                    0.17.1                py36_1000    conda-forge
gast                      0.3.2                      py_0    conda-forge
gcc_impl_linux-64         7.3.0                habb00fd_1    conda-forge
gcc_linux-64              7.3.0                h553295d_9    conda-forge
geos                      3.7.2                he1b5a44_2    conda-forge
gettext                   0.19.8.1          hc5be6a0_1002    conda-forge
giflib                    5.1.9                h516909a_0    conda-forge
glib                      2.58.3            h6f030ca_1002    conda-forge
gmp                       6.1.2             hf484d3e_1000    conda-forge
gnutls                    3.6.5             hd3a4fd2_1002    conda-forge
google-api-core           1.17.0           py36h9f0ad1d_0    conda-forge
google-auth               1.14.0             pyh9f0ad1d_0    conda-forge
google-cloud-core         1.3.0                      py_0    conda-forge
google-cloud-storage      1.27.0             pyh9f0ad1d_0    conda-forge
google-pasta              0.1.7                      py_0    conda-forge
google-resumable-media    0.5.0                      py_1    conda-forge
googleapis-common-protos  1.51.0           py36h9f0ad1d_2    conda-forge
graphite2                 1.3.13            hf484d3e_1000    conda-forge
grpcio                    1.23.0           py36he9ae1f9_0    conda-forge
gst-plugins-base          1.14.5               h0935bb2_0    conda-forge
gstreamer                 1.14.5               h36ae1b5_0    conda-forge
gxx_impl_linux-64         7.3.0                hdf63c60_1    conda-forge
gxx_linux-64              7.3.0                h553295d_9    conda-forge
h5py                      2.9.0           py36h31fdc65_1000    conda-forge
harfbuzz                  2.4.0                h9f30f68_3    conda-forge
hdf5                      1.10.4          nompi_h3c11f04_1106    conda-forge
horovod                   0.18.1                   pypi_0    pypi
html5lib                  0.9999999                py36_0    conda-forge
icu                       64.2                 he1b5a44_1    conda-forge
idna                      2.8                   py36_1000    conda-forge
imageio                   2.5.0                    py36_0    conda-forge
imgaug                    0.2.6                    pypi_0    pypi
importlib_metadata        0.23                     py36_0    conda-forge
intel-openmp              2019.4                      243  
ipykernel                 5.1.2            py36h5ca1d4c_0    conda-forge
ipython                   7.8.0            py36h5ca1d4c_0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
ipywidgets                7.5.1                      py_0    conda-forge
jasper                    1.900.1           h07fcdf6_1006    conda-forge
jedi                      0.15.1                   py36_0    conda-forge
jinja2                    2.10.1                     py_0    conda-forge
joblib                    0.13.2                     py_0    conda-forge
jpeg                      9c                h14c3975_1001    conda-forge
jsonschema                3.0.2                    py36_0    conda-forge
jupyter                   1.0.0                      py_2    conda-forge
jupyter_client            5.3.3                      py_0    conda-forge
jupyter_console           6.0.0                      py_0    conda-forge
jupyter_core              4.4.0                      py_0    conda-forge
kaggle                    1.5.6                    py36_0    conda-forge
keras-applications        1.0.8                      py_1    conda-forge
keras-preprocessing       1.1.0                      py_0    conda-forge
kiwisolver                1.1.0            py36hc9558a2_0    conda-forge
krb5                      1.16.3            h05b26f9_1001    conda-forge
lame                      3.100             h14c3975_1001    conda-forge
libblas                   3.8.0               12_openblas    conda-forge
libcblas                  3.8.0               12_openblas    conda-forge
libcurl                   7.65.3               hda55be3_0    conda-forge
libedit                   3.1.20170329      hf8c457e_1001    conda-forge
libffi                    3.2.1             he1b5a44_1006    conda-forge
libgcc-ng                 9.1.0                hdf63c60_0  
libgfortran-ng            7.3.0                hdf63c60_0  
libiconv                  1.15              h516909a_1005    conda-forge
liblapack                 3.8.0               12_openblas    conda-forge
liblapacke                3.8.0               12_openblas    conda-forge
libopenblas               0.3.7                h6e990d7_1    conda-forge
libpng                    1.6.37               hed695b0_0    conda-forge
libprotobuf               3.9.2                h8b12597_0    conda-forge
libsodium                 1.0.17               h516909a_0    conda-forge
libssh2                   1.8.2                h22169c7_2    conda-forge
libstdcxx-ng              9.1.0                hdf63c60_0  
libtiff                   4.0.10            h57b8799_1003    conda-forge
libuuid                   2.32.1            h14c3975_1000    conda-forge
libwebp                   1.0.2                h576950b_1    conda-forge
libxcb                    1.13              h14c3975_1002    conda-forge
libxml2                   2.9.9                hee79883_5    conda-forge
llvmlite                  0.29.0           py36hfd453ef_1    conda-forge
lz4-c                     1.8.3             he1b5a44_1001    conda-forge
markdown                  3.1.1                      py_0    conda-forge
markupsafe                1.1.1            py36h14c3975_0    conda-forge
matplotlib                3.1.1                    py36_1    conda-forge
matplotlib-base           3.1.1            py36he7580a8_1    conda-forge
mccabe                    0.6.1                      py_1    conda-forge
mistune                   0.8.4           py36h14c3975_1000    conda-forge
mkl                       2019.4                      243  
mock                      3.0.5                    py36_0    conda-forge
more-itertools            7.2.0                      py_0    conda-forge
munch                     2.3.2                    pypi_0    pypi
nbconvert                 5.6.0                    py36_1    conda-forge
nbformat                  4.4.0                      py_1    conda-forge
ncurses                   6.1               hf484d3e_1002    conda-forge
nettle                    3.4.1             h1bed415_1002    conda-forge
networkx                  2.3                        py_0    conda-forge
ninja                     1.9.0                h6bb024c_0    conda-forge
notebook                  6.0.1                    py36_0    conda-forge
numba                     0.45.1           py36hb3f55d8_0    conda-forge
numpy                     1.17.2           py36h95a1406_0    conda-forge
olefile                   0.46                       py_0    conda-forge
opencv                    4.1.0            py36h5517eff_4    conda-forge
opencv-python-headless    4.1.1.26                 pypi_0    pypi
openh264                  1.8.0             hdbcaa40_1000    conda-forge
openssl                   1.1.1f               h516909a_0    conda-forge
packaging                 19.2                       py_0    conda-forge
pandas                    0.25.1           py36hb3f55d8_0    conda-forge
pandoc                    2.7.3                         0    conda-forge
pandocfilters             1.4.2                      py_1    conda-forge
parso                     0.5.1                      py_0    conda-forge
patsy                     0.5.1                      py_0    conda-forge
pcre                      8.41              hf484d3e_1003    conda-forge
pexpect                   4.7.0                    py36_0    conda-forge
pickleshare               0.7.5                 py36_1000    conda-forge
pillow                    6.1.0            py36h6b7be26_1    conda-forge
pip                       19.2.3                   py36_0    conda-forge
pixman                    0.38.0            h516909a_1003    conda-forge
pluggy                    0.12.0                     py_0    conda-forge
pretrainedmodels          0.7.4                    pypi_0    pypi
prometheus_client         0.7.1                      py_0    conda-forge
prompt_toolkit            2.0.9                      py_0    conda-forge
protobuf                  3.9.2            py36he1b5a44_0    conda-forge
psutil                    5.6.3                    pypi_0    pypi
pthread-stubs             0.4               h14c3975_1001    conda-forge
ptyprocess                0.6.0                   py_1001    conda-forge
py                        1.8.0                      py_0    conda-forge
pyasn1                    0.4.8                      py_0    conda-forge
pyasn1-modules            0.2.7                      py_0    conda-forge
pycodestyle               2.5.0                      py_0    conda-forge
pycparser                 2.19                     py36_1    conda-forge
pyflakes                  2.1.1                      py_0    conda-forge
pygments                  2.4.2                      py_0    conda-forge
pyopenssl                 19.0.0                   py36_0    conda-forge
pyparsing                 2.4.2                      py_0    conda-forge
pyqt                      5.9.2            py36hcca6a23_4    conda-forge
pyrsistent                0.15.4           py36h516909a_0    conda-forge
pysocks                   1.7.1                    py36_0    conda-forge
pytest                    5.0.1                    py36_0    conda-forge
python                    3.6.7             h357f687_1005    conda-forge
python-dateutil           2.8.0                      py_0    conda-forge
python-slugify            3.0.3                      py_0    conda-forge
python_abi                3.6                     1_cp36m    conda-forge
pytorch                   1.2.0           py3.6_cuda10.0.130_cudnn7.6.2_0    pytorch
pytz                      2019.2                     py_0    conda-forge
pywavelets                1.0.3            py36hd352d35_1    conda-forge
pyyaml                    5.1.2            py36h516909a_0    conda-forge
pyzmq                     18.1.0           py36h1768529_0    conda-forge
qt                        5.9.7                h0c104cb_3    conda-forge
qtconsole                 4.5.5                      py_0    conda-forge
readline                  8.0                  hf8c457e_0    conda-forge
requests                  2.22.0                   py36_1    conda-forge
rope                      0.14.0                     py_0    conda-forge
rsa                       4.0                        py_0    conda-forge
scikit-image              0.15.0           py36hb3f55d8_2    conda-forge
scikit-learn              0.21.3           py36hcdab131_0    conda-forge
scipy                     1.3.1            py36h921218d_2    conda-forge
seaborn                   0.9.0                      py_1    conda-forge
segmentation-models-pytorch 0.0.3                     dev_0    <develop>
send2trash                1.5.0                      py_0    conda-forge
setuptools                41.2.0                   py36_0    conda-forge
sever                     0.0.1                     dev_0    <develop>
shapely                   1.6.4           py36hec07ddf_1006    conda-forge
sip                       4.19.8          py36hf484d3e_1000    conda-forge
six                       1.12.0                py36_1000    conda-forge
sqlite                    3.29.0               hcee41ef_1    conda-forge
statsmodels               0.10.1           py36hc1659b7_0    conda-forge
tensorboard               1.14.0                   py36_0    conda-forge
tensorflow                1.3.0                    py36_0    conda-forge
tensorflow-base           1.14.0          eigen_py36hf4a566f_0  
tensorflow-estimator      1.13.0                     py_0  
termcolor                 1.1.0                      py_2    conda-forge
terminado                 0.8.2                    py36_0    conda-forge
testpath                  0.4.2                   py_1001    conda-forge
text-unidecode            1.2                        py_0    conda-forge
tk                        8.6.9             hed695b0_1003    conda-forge
toolz                     0.10.0                     py_0    conda-forge
torchvision               0.4.0                py36_cu100    pytorch
tornado                   6.0.3            py36h516909a_0    conda-forge
tqdm                      4.36.1                     py_0    conda-forge
traitlets                 4.3.2                 py36_1000    conda-forge
unidecode                 1.1.1                      py_0    conda-forge
urllib3                   1.24.3                   py36_0    conda-forge
wcwidth                   0.1.7                      py_1    conda-forge
webencodings              0.5.1                      py_1    conda-forge
werkzeug                  0.16.0                     py_0    conda-forge
wheel                     0.33.6                   py36_0    conda-forge
widgetsnbextension        3.5.1                    py36_0    conda-forge
wrapt                     1.11.2           py36h516909a_0    conda-forge
x264                      1!152.20180806       h14c3975_0    conda-forge
xorg-kbproto              1.0.7             h14c3975_1002    conda-forge
xorg-libice               1.0.10               h516909a_0    conda-forge
xorg-libsm                1.2.3             h84519dc_1000    conda-forge
xorg-libx11               1.6.8                h516909a_0    conda-forge
xorg-libxau               1.0.9                h14c3975_0    conda-forge
xorg-libxdmcp             1.1.3                h516909a_0    conda-forge
xorg-libxext              1.3.4                h516909a_0    conda-forge
xorg-libxrender           0.9.10            h516909a_1002    conda-forge
xorg-renderproto          0.11.1            h14c3975_1002    conda-forge
xorg-xextproto            7.3.0             h14c3975_1002    conda-forge
xorg-xproto               7.0.31            h14c3975_1007    conda-forge
xz                        5.2.4             h14c3975_1001    conda-forge
yaml                      0.1.7             h14c3975_1001    conda-forge
zeromq                    4.3.2                he1b5a44_2    conda-forge
zipp                      0.6.0                      py_0    conda-forge
zlib                      1.2.11            h516909a_1006    conda-forge
zstd                      1.4.0                h3b9ef0a_0    conda-forge

I tried to implement as you suggested but it didn't work on the windows system.

from severstal-steel-defect-detection.

khornlund avatar khornlund commented on May 30, 2024

I have exported my environment above. You'll need to modify environment.yml and pin the versions to those listed above, and then recreate the conda environment.

from severstal-steel-defect-detection.

khornlund avatar khornlund commented on May 30, 2024

I've pinned the important versions numbers, and fixed an issue due to train.csv changing format since the competition. It works fine for me with a fresh install.

(sever) khornlund@khornlund-ubuntu:~/bb/severstal-steel-defect-detection$ sever train -c experiments/fpn-b5.yml 
66168 - Runner - INFO - Using random seed: 447676
66168 - Runner - DEBUG - Building model architecture
Load result: None
66168 - Runner - DEBUG - Using device 0 of [0, 1]
66168 - Runner - DEBUG - Building optimizer and lr scheduler
66168 - Runner - INFO - Found 308 encoder weight params
66168 - Runner - INFO - Found 193 encoder bias params
66168 - Runner - INFO - Found 19 decoder weight params
66168 - Runner - INFO - Found 12 decoder bias params
66168 - Runner - DEBUG - Getting augmentations
66168 - Runner - DEBUG - Getting data_loader instance
66168 - SamplerFactory - INFO - Creating `type`...
66168 - SamplerFactory - INFO - Sample population absolute class sizes: [5332 1801]
66168 - SamplerFactory - INFO - Sample population relative class sizes: [0.74751157 0.25248843]
66168 - SamplerFactory - INFO - Target batch class distribution [0.7846383 0.2153617] using alpha=-0.15
66168 - SamplerFactory - INFO - Rounded batch class distribution [0.75 0.25]
66168 - SamplerFactory - INFO - Expecting [9 3] samples of each class per batch, over 594 batches of size 12
66168 - SamplerFactory - INFO - Sampling rates: [1.00262566 0.98945031]
66168 - Runner - DEBUG - Getting loss and metric function handles
66168 - Runner - DEBUG - Initialising trainer
66168 - Trainer - INFO - Freezing encoder weights
66168 - Trainer - INFO - Starting training...
66168 - Trainer - INFO - Unfreezing encoder weights
/home/khornlund/anaconda3/envs/sever-test/lib/python3.6/site-packages/torch/nn/functional.py:1350: UserWarning: nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.
  warnings.warn("nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.")
66168 - Trainer - DEBUG - Train Epoch: 0 [0/7128 (0%)] Loss: 2.778567
66168 - Trainer - DEBUG - Train Epoch: 0 [288/7128 (4%)] Loss: 0.439829
66168 - Trainer - DEBUG - Train Epoch: 0 [576/7128 (8%)] Loss: 0.606428
66168 - Trainer - DEBUG - Train Epoch: 0 [864/7128 (12%)] Loss: 0.286732
66168 - Trainer - DEBUG - Train Epoch: 0 [1152/7128 (16%)] Loss: 0.350551

Note your data directory should look like this:

(sever-test) khornlund@khornlund-ubuntu:~/bb/severstal-steel-defect-detection$ tree data/raw/severstal-steel-defect-detection/ -L 1
data/raw/severstal-steel-defect-detection/
├── joined_images/
│   ├── aaa.jpg
│   ├── ...
│   └── ffffd67df.jpg
├── pseudo.csv
├── sample_submission.csv
└── train.csv

from severstal-steel-defect-detection.

jyothir07 avatar jyothir07 commented on May 30, 2024

I've pinned the important versions numbers, and fixed an issue due to train.csv changing format since the competition. It works fine for me with a fresh install.

(sever) khornlund@khornlund-ubuntu:~/bb/severstal-steel-defect-detection$ sever train -c experiments/fpn-b5.yml 
66168 - Runner - INFO - Using random seed: 447676
66168 - Runner - DEBUG - Building model architecture
Load result: None
66168 - Runner - DEBUG - Using device 0 of [0, 1]
66168 - Runner - DEBUG - Building optimizer and lr scheduler
66168 - Runner - INFO - Found 308 encoder weight params
66168 - Runner - INFO - Found 193 encoder bias params
66168 - Runner - INFO - Found 19 decoder weight params
66168 - Runner - INFO - Found 12 decoder bias params
66168 - Runner - DEBUG - Getting augmentations
66168 - Runner - DEBUG - Getting data_loader instance
66168 - SamplerFactory - INFO - Creating `type`...
66168 - SamplerFactory - INFO - Sample population absolute class sizes: [5332 1801]
66168 - SamplerFactory - INFO - Sample population relative class sizes: [0.74751157 0.25248843]
66168 - SamplerFactory - INFO - Target batch class distribution [0.7846383 0.2153617] using alpha=-0.15
66168 - SamplerFactory - INFO - Rounded batch class distribution [0.75 0.25]
66168 - SamplerFactory - INFO - Expecting [9 3] samples of each class per batch, over 594 batches of size 12
66168 - SamplerFactory - INFO - Sampling rates: [1.00262566 0.98945031]
66168 - Runner - DEBUG - Getting loss and metric function handles
66168 - Runner - DEBUG - Initialising trainer
66168 - Trainer - INFO - Freezing encoder weights
66168 - Trainer - INFO - Starting training...
66168 - Trainer - INFO - Unfreezing encoder weights
/home/khornlund/anaconda3/envs/sever-test/lib/python3.6/site-packages/torch/nn/functional.py:1350: UserWarning: nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.
  warnings.warn("nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.")
66168 - Trainer - DEBUG - Train Epoch: 0 [0/7128 (0%)] Loss: 2.778567
66168 - Trainer - DEBUG - Train Epoch: 0 [288/7128 (4%)] Loss: 0.439829
66168 - Trainer - DEBUG - Train Epoch: 0 [576/7128 (8%)] Loss: 0.606428
66168 - Trainer - DEBUG - Train Epoch: 0 [864/7128 (12%)] Loss: 0.286732
66168 - Trainer - DEBUG - Train Epoch: 0 [1152/7128 (16%)] Loss: 0.350551

Note your data directory should look like this:

(sever-test) khornlund@khornlund-ubuntu:~/bb/severstal-steel-defect-detection$ tree data/raw/severstal-steel-defect-detection/ -L 1
data/raw/severstal-steel-defect-detection/
├── joined_images/
│   ├── aaa.jpg
│   ├── ...
│   └── ffffd67df.jpg
├── pseudo.csv
├── sample_submission.csv
└── train.csv

Thank you so much for your time. It's fixed and I'm closing this issue

from severstal-steel-defect-detection.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.