nshaud / DeepHyperX

Deep learning toolbox based on PyTorch for hyperspectral data classification.
Other
439 stars 122 forks source link

/bin/sh: 0: Can't open start.sh #45

Closed 5MI7th3MI6 closed 2 years ago

5MI7th3MI6 commented 3 years ago

Hello,

I tried running the container on both Docker and Singularity; however, I am getting this error "/bin/sh: 0: Can't open start.sh". Is there a way to fix this?

This is the command I ran on Docker docker run -p 9999:8097 -ti --rm -vpwd:/workspace/DeepHyperX/ registry.gitlab.inria.fr/naudeber/deephyperx:rc2 and on Singularity singularity run ./deephyperxtest_latest.sif.

Thank you!

nshaud commented 3 years ago

Hum, yeah, looks like there is a problem with the Docker image. The one from the registry is very old, you should build your own using the provided Dockerfile:

docker build . -t deephyperx:latest
5MI7th3MI6 commented 3 years ago

Thanks, It works when I build it with the Docker file. However, when I convert that file to Singularity, I get the same issue. image

nshaud commented 2 years ago

I don't know what singularity is. Build your image using the Dockerfile so that it is up to date with the master branch and you should be fine.