You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# FutureWarning: sklearn.externals.joblib is deprecated in 0.21 and will be removed in 0.23.
24
+
RUN pip install -U "scikit-learn<0.23" rdkit-pypi
25
+
26
+
# cleanup
27
+
RUN apt-get clean
28
+
RUN mamba clean --all --yes
29
+
RUN pip cache purge
30
+
31
+
# Install onionnet
32
+
RUN git clone https://github.com/cyangNYU/onionnet.git
33
+
WORKDIR /onionnet
34
+
35
+
# Download models
36
+
## the default model of onionnet-v1 in github repo is not correct, the actually size is around 600 MB.
37
+
## The authors provided a google drive link to download it,
38
+
## but their command wget "https://drive.google.com/uc?export=download&id=1cwJN44TgaVBWYEEb_SGU5JBJp6WbFdM1" -O "CNN_final_model_weights.h5" is not working.
39
+
RUN cd models && rm CNN_final_model_weights.h5 && wget https://huggingface.co/cyangNYU/onionnet-v1/resolve/main/CNN_final_model_weights.h5
0 commit comments