Closed nekiee13 closed 9 months ago
Hey @nekiee13, did you pull the repo in Windows OS?
Hi, i git cloned repo.
On Fri, Sep 22, 2023 at 10:55 AM Fabio Grasso @.***> wrote:
Hey @nekiee13 https://github.com/nekiee13, did you pull the repo in Windows OS?
— Reply to this email directly, view it on GitHub https://github.com/fabiogra/moseca/issues/7#issuecomment-1731060304, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB2KT6LL63JSOP7ZBM7WJ4LX3VG7DANCNFSM6AAAAAA4SN3ETM . You are receiving this because you were mentioned.Message ID: @.***>
I work under win11. Got docker installed, nVidia 4070 drivers and nvcc active I know that nVidia got to be separatly added to docke (dont know how to do it), cpp Toolkit, ms desktop Toolkit, cpp compiler and debugger also separately. I really think a got everything covered, but I'm not programmer and just can't get it to work. I don't understand why script don't see script, cause they are there. I tried to copy them in main directory, but didn't succeed. When thinking now, maybe I should have used .\ instead of ./... will try that, but I don't know..
On Fri, 22 Sept 2023, 10:55 Fabio Grasso, @.***> wrote:
Hey @nekiee13 https://github.com/nekiee13, did you pull the repo in Windows OS?
— Reply to this email directly, view it on GitHub https://github.com/fabiogra/moseca/issues/7#issuecomment-1731060304, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB2KT6LL63JSOP7ZBM7WJ4LX3VG7DANCNFSM6AAAAAA4SN3ETM . You are receiving this because you were mentioned.Message ID: @.***>
If you cloned the repo on a Windows machine, it might have converted the line endings in the shell script files. You could try to convert them back to UNIX format by running dos2unix prepare_samples.sh
You could also try to add this line in the Dockerfile (before RUN chmod +x /prepare_samples.sh):
RUN dos2unix /prepare_samples.sh
Let me know if that worked :)
Ok, will try that. I'm on the road so, some time next week.... thank you for helping me.
On Mon, 16 Oct 2023, 10:00 Fabio Grasso, @.***> wrote:
If you cloned the repo on a Windows machine, it might have converted the line endings in the shell script files. You could try to convert them back to UNIX format by running dos2unix prepare_samples.sh
You could also try to add this line in the Dockerfile (before RUN chmod +x /prepare_samples.sh):
RUN dos2unix /prepare_samples.sh
Let me know if that worked :)
— Reply to this email directly, view it on GitHub https://github.com/fabiogra/moseca/issues/7#issuecomment-1763936919, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB2KT6NMI7Z6T3MRRPCIP6DX7TSTNAVCNFSM6AAAAAA4SN3ETOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRTHEZTMOJRHE . You are receiving this because you were mentioned.Message ID: @.***>
I had a different issue where the .sh file was not found, but dos2unix also solved it, just thought I'd post about it here:
Maybe make a note to run that command on Windows?
Original code failed.
Tried to add a yt-dlp at line 8. No change apt-get install -y ffmpeg jq curl yt-dlp && \
Tried to copy scripts - no change COPY scripts/prepare_samples.sh /prepare_samples.sh COPY scripts/inference.py /inference.py
Tried modify executable RUN chmod +x prepare_samples.sh RUN ls -l / RUN sh -x ./prepare_samples.sh
This is error description I get all the time:
=> ERROR [stage-0 15/16] RUN sh -x ./prepare_samples.sh 0.5s