Closed cjbarb7 closed 6 years ago
Hi @cjbarb7 , you may get this error if the cmake ../
step doesn't build/install PyTorch correctly.
Are you able to run this step from the tutorial OK to independently verify that PyTorch is working?
https://github.com/dusty-nv/jetson-reinforcement#verifying-pytorch
I think it might have to do with the amount of memory the TX1 has and ill probably have to do something about increasing the memory. I installed pytorch on my TX2 and it had no issues.
You may need to attach a SWAP partition on TX1 depending on the JetPack-L4T. I will have to note it in the readme, thanks.
-------- Original message -------- From: CJ Barberan notifications@github.com Date: 4/29/18 8:25 PM (GMT-05:00) To: dusty-nv/jetson-reinforcement jetson-reinforcement@noreply.github.com Cc: Dustin Franklin dustinf@nvidia.com, Comment comment@noreply.github.com Subject: Re: [dusty-nv/jetson-reinforcement] Issue with building pytorch for jetson tx1 (#10)
I think it might have to do with the amount of memory the TX1 has and ill probably have to do something about increasing the memory. I installed pytorch on my TX2 and it had no issues.
- You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/dusty-nv/jetson-reinforcement/issues/10#issuecomment-385294026, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AOpDKxxXMlTsNQ_AtJpSl_VvRwzocj86ks5ttlnZgaJpZM4TEdB2.
Hello,
make gave me the following error. cmake ../ seemed to have finished fine. I am using jetson TX2
Scanning dependencies of target jetson-reinforcement [ 40%] Building CXX object CMakeFiles/jetson-reinforcement.dir/c/pyTensor.cpp.o In file included from /home/nvidia/jetson-reinforcement/c/pyTensor.cpp:6:0: /home/nvidia/jetson-reinforcement/c/pyTorch.h:14:19: fatal error: TH/TH.h: No such file or directory compilation terminated. CMakeFiles/jetson-reinforcement.dir/build.make:69: recipe for target 'CMakeFiles/jetson-reinforcement.dir/c/pyTensor.cpp.o' failed make[2]: [CMakeFiles/jetson-reinforcement.dir/c/pyTensor.cpp.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/jetson-reinforcement.dir/all' failed make[1]: [CMakeFiles/jetson-reinforcement.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
Experienced this issue with make
In file included from /home/ubuntu/Desktop/jetson-reinforcement/c/pyTensor.cpp:6:0: /home/ubuntu/Desktop/jetson-reinforcement/c/pyTorch.h:14:19: fatal error: TH/TH.h: No such file or directory compilation terminated. CMakeFiles/jetson-reinforcement.dir/build.make:95: recipe for target 'CMakeFiles/jetson-reinforcement.dir/c/pyTensor.cpp.o' failed make[2]: [CMakeFiles/jetson-reinforcement.dir/c/pyTensor.cpp.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/jetson-reinforcement.dir/all' failed make[1]: [CMakeFiles/jetson-reinforcement.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2