-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with .github action workflow #12
Comments
I fix the error by using wget -c --no-check-certificate |
Here is the error from the logs:
The website https://data.lip6.fr needs to update their certificate. If you open it in the browser you get the same. |
It looks like https://github.com/Cadene/pretrained-models.pytorch repo hasn't been changed in 5 years and says it's a |
@thibaulttabarin Do you know if there might be a more reliable location to download this file? If this is the only location the file exists and we must disable certificate checking we should verify against a known good MD5 hash(or something similar). |
thanks for looking into that, |
To help with this issue I looked into uploading the model files to the Imageomics Dataverse. The DOI is |
I created a separate dataset for the se_resnext50_32x4d file. Otherwise it would look like Maruf created that file. |
that sounds good, that's what I was looking for, a place where I could put all the models used in the project. I will have a look later this week. |
Changes Dockerfile to download model files from the Imageomics Dataverse. Currently the datasets aren't public yet so an authentication token is required to download the models. Once these datasets are published the token shouldn't be required. You can manually build the container supplying a token like so: docker build --build-arg DATAVERSE_API_TOKEN=<yourtoken> -t <tagname> . Fixes hdr-bgnn#12
Hey John, how are you doing? |
@thibaulttabarin I'm doing well. Simply we can use github Secrets to store the API token. Then pass that environment variable to the docker build. I'll email you to setup a time to talk. |
well, that exactly what I have been trying to do (using Secret to store the API) but there is something not working. I will check you setup and try to figure out what not working in my case. |
I think what we need to do is set the build-args to a secret for the Docker build.
|
Changes Dockerfile to download model files from the Imageomics Dataverse. Currently the datasets aren't public yet so an authentication token is required to download the models. Once these datasets are published the token shouldn't be required. The DATAVERSE_API_TOKEN Secret will need to be setup in GitHub so the container will build on new releases. You can manually build the container supplying a token like so: docker build --build-arg DATAVERSE_API_TOKEN=<yourtoken> -t <tagname> . Fixes hdr-bgnn#12
Changes Dockerfile to download model files from the Imageomics Dataverse. Currently the datasets aren't public yet so an authentication token is required to download the models. Once these datasets are published the token shouldn't be required. The DATAVERSE_API_TOKEN Secret will need to be setup in GitHub so the container will build on new releases. You can manually build the container supplying a token like so: docker build --build-arg DATAVERSE_API_TOKEN=<yourtoken> -t <tagname> . Fixes hdr-bgnn#12
Changes Dockerfile to download model files from the Imageomics Dataverse. Currently the datasets aren't public yet so an authentication token is required to download the models. Once these datasets are published the token shouldn't be required. The DATAVERSE_API_TOKEN Secret will need to be setup in GitHub so the container will build on new releases. You can manually build the container supplying a token like so: docker build --build-arg DATAVERSE_API_TOKEN=<yourtoken> -t <tagname> . Fixes hdr-bgnn#12
Try to create a new version with some update from the branch rescael_origin#11 addressing the issue #11
to test the container I use a fork on my account
BGNN-trait-segmentation.
The problem I have encounter is that the dockerfile fails because the download of the pretrained model see the fail action https://github.com/thibaulttabarin/BGNN-trait-segmentation/actions/runs/2707871086
I manage to download manully after ignoring the unsafe web site warning (which I think are new)
So now it seems that I can't build my container using github action how do I solve this problem
Cheers
The text was updated successfully, but these errors were encountered: