IBM / MAX-Audio-Classifier

Identify sounds in short audio clips
https://developer.ibm.com/exchanges/models/all/max-audio-classifier/
Apache License 2.0
152 stars 54 forks source link

Error in building Docker Image in Windows #60

Closed shfaizan closed 3 years ago

shfaizan commented 4 years ago

Hello, I have tried MAX audio Classifier in Ubuntu and it works effortlessly.

I want to know can we use it in Windows also when I try to build the image I got the following error sha512sum: 'assets/classifier_model.h5'$'\r': No such file or directory sha512sum: 'assets/vggish_model.ckpt'$'\r': No such file or directory image (Here is the Image of error)

bdwyer2 commented 4 years ago

Can you comment out line 32 in the Dockerfile (RUN sha512sum -c sha512sums.txt) then start the container with docker run -it -p 5000:5000 max-audio-classifier bash.

Once you have the container running see if the files exist in the assets/ directory.

xuhdev commented 4 years ago

Your sha512sums.txt file seems to have CRLF line endings, which aren't expected. This is possibly due to your Windows git configuration. Try to run

git config --global core.autocrlf false

and refresh the repository (recloning is probably the easiest way), and see whether the issue persists.

bdwyer2 commented 3 years ago

@shfaizan did this resolve your problem? If not please feel free to re-open this issue.