Jump to content

Ai problems

Go to solution Solved by Haris Javed,

Try this solution

 

https://stackoverflow.com/questions/46866478/docker-cp-command-not-allowed

 

also your project is a python file before you run it make sure you have the correct packages / versions installed. The problem is with docker not AI/ Neural network layer. 

So I'm trying to run a model with docker toolbox (because i dont have a mac or windows pro) and im using the website literai (https://www.literai.com/tutorial/) and when i get to step 4 and to transfer the file to the container it spits out something like this 

docker cp C:\Users\chris>docker cp C:\Users\chris\Desktop\Commercial\Y1.t7 literai:root/torch-rnn/Y1/
no such directory

or when ran through docker

chris@Atlas MINGW64 /c/Program Files/Docker Toolbox
$ docker cp C:\Users\chris\Desktop\Commercial\Y1.t7 literai:root/torch-rnn/Y1/
copying between containers is not supported


I was wondering do any of you have an idea on how to get around this? (I am a beginner and this seemed easy enough, so i wont know most terms you use)

Link to comment
https://linustechtips.com/topic/1068232-ai-problems/
Share on other sites

Link to post
Share on other sites

Try this solution

 

https://stackoverflow.com/questions/46866478/docker-cp-command-not-allowed

 

also your project is a python file before you run it make sure you have the correct packages / versions installed. The problem is with docker not AI/ Neural network layer. 

Link to comment
https://linustechtips.com/topic/1068232-ai-problems/#findComment-12607378
Share on other sites

Link to post
Share on other sites

Okay so I did the commands and what it said, etc.

docker cp literai:root/torch-rnn// c:\Users\chris\Desktop\Commercial\Y1

root@06deef4bebe8:~/torch-rnn# th sample.lua -checkpoint Y1/Y1.t7 -length 2000 -temperature 0.7 -gpu -1
/root/torch/install/bin/luajit: cannot open <Y1/Y1.t7> in mode r  at /tmp/luarocks_torch-scm-1-437/torch7/lib/TH/THDiskFile.c:649
stack traceback:
        [C]: at 0x7fa6643f77c0
        [C]: in function 'DiskFile'
        /root/torch/install/share/lua/5.1/torch/File.lua:405: in function 'load'
        sample.lua:19: in main chunk
        [C]: in function 'dofile'
        /root/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
        [C]: at 0x00406670
root@06deef4bebe8:~/torch-rnn#


Did it work?

 

Link to comment
https://linustechtips.com/topic/1068232-ai-problems/#findComment-12609592
Share on other sites

Link to post
Share on other sites

Okay, so I fixed it and I'm on step 5. I don't know how to get any further in this process as when I run it, I run into this

root@9a4b6cdce099:~/torch-rnn# th sample.lua -checkpoint Y1/Y1.t7 -length 2000 -temperature 0.7 -gpu -1
/root/torch/install/bin/luajit: cannot open <Y1/Y1.t7> in mode r  at /tmp/luarocks_torch-scm-1-437/torch7/lib/TH/THDiskFile.c:649
stack traceback:
        [C]: at 0x7fbc61cdf7c0
        [C]: in function 'DiskFile'
        /root/torch/install/share/lua/5.1/torch/File.lua:405: in function 'load'
        sample.lua:19: in main chunk
        [C]: in function 'dofile'
        /root/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
        [C]: at 0x00406670
root@9a4b6cdce099:~/torch-rnn#


 Can you help me further, please?

SthB7bi[1].png

Link to comment
https://linustechtips.com/topic/1068232-ai-problems/#findComment-12609777
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×