-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I make this code , there is some err that I can not work it out . #16
Comments
Hi @yi2ha, you may want to try building on an external SATA drive or USB3 drive.
From: yi2ha <notifications@github.com>
Sent: Monday, June 18, 2018 7:38 PM
To: dusty-nv/jetson-reinforcement <jetson-reinforcement@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: [dusty-nv/jetson-reinforcement] When I make this code , there is some err that I can not work it out . (#16)
I use tx1 and follow the 8 steps, but failed. 16G is enough for this project?
First time , I get the note like this
You are using pip version 9.0.1, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
so ,I use "pip install torch torchvision" to update ,from https://pytorch.org/
Second time, the cmake step looks googd
…-- Found Qt4: /usr/bin/qmake-qt4 (found version "4.8.7")
-- Copying /home/ubuntu/jetson-reinforcement/utils/loadImage.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/rand.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/pi.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/commandLine.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/camera/v4l2Camera.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/camera/gstUtility.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/camera/gstCamera.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/cuda/cudaOverlay.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/cuda/cudaRGB.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/cuda/cudaNormalize.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/cuda/cudaResize.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/cuda/cudaFont.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/cuda/cudaMappedMemory.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/cuda/cudaUtility.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/cuda/cudaYUV.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/display/glTexture.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/display/glDisplay.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/display/glUtility.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/input/devJoystick.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/input/devInput.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/input/devKeyboard.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/data/fontmapA.png
-- Copying /home/ubuntu/jetson-reinforcement/utils/data/fontmapB.png
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ubuntu/jetson-reinforcement/build
so I think I can make it
ubuntu@tegra-ubuntu:~/jetson-reinforcement/build$ make
but ,some thing wrong showed up , and I not sure what should do next.
-- Build files have been written to: /home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/build/THC
[ 3%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCHalf.cu.o
[ 3%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCBlas.cu.o
[ 3%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCReduceApplyUtils.cu.o
[ 4%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCSleep.cu.o
[ 6%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCStorage.cu.o
[ 7%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCStorageCopy.cu.o
[ 8%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCTensor.cu.o
[ 9%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCTensorCopy.cu.o
[ 10%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCTensorMath.cu.o
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
[ 12%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCTensorMath2.cu.o
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
[ 13%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCTensorMathBlas.cu.o
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
[ 14%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCTensorMathMagma.cu.o
[ 15%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCTensorMathPairwise.cu.o
[ 17%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCTensorMathReduce.cu.o
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
[ 18%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCTensorMathScan.cu.o
[ 19%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCTensorIndex.cu.o
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
/usr/local/cuda/include/thrust/detail/tuple.inl(248) (col. 8): catastrophic error: error while writing generated C file: No space left on device
1 catastrophic error detected in the compilation of "/tmp/tmpxft_000030b5_00000000-9_THCTensorIndex.cpp2.i".
Compilation terminated.
CMake Error at THC_generated_THCTensorIndex.cu.o.cmake:267 (message):
Error generating file
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/build/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorIndex.cu.o
CMakeFiles/THC.dir/build.make:161: recipe for target 'CMakeFiles/THC.dir/THC_generated_THCTensorIndex.cu.o' failed
make[2]: *** [CMakeFiles/THC.dir/THC_generated_THCTensorIndex.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from tmpxft_00002ed5_00000000-4_THCTensorCopy.cudafe1.stub.c:1:0:
/tmp/tmpxft_00002ed5_00000000-4_THCTensorCopy.cudafe1.stub.c:3548:27: fatal error: error writing to /tmp/ccx0ZMYE.s: No space left on device
compilation terminated.
CMake Error at THC_generated_THCTensorCopy.cu.o.cmake:267 (message):
Error generating file
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/build/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorCopy.cu.o
CMakeFiles/THC.dir/build.make:105: recipe for target 'CMakeFiles/THC.dir/THC_generated_THCTensorCopy.cu.o' failed
make[2]: *** [CMakeFiles/THC.dir/THC_generated_THCTensorCopy.cu.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/THC.dir/all' failed
make[1]: *** [CMakeFiles/THC.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
running develop
-- Building version 0.3.0b0+af3964a
running egg_info
Many .h files were labled" No such file or directory"
ubuntu@tegra-ubuntu:~/jetson-reinforcement/build$ make
[ 36%] Built target jetson-utils
[ 38%] Building CXX object CMakeFiles/jetson-reinforcement.dir/c/rlAgent.cpp.o
In file included from /home/ubuntu/jetson-reinforcement/build/pytorch/torch/csrc/THP.h:7:0,
from /home/ubuntu/jetson-reinforcement/c/pyTorch.h:16,
from /home/ubuntu/jetson-reinforcement/c/rlAgent.cpp:6:
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THS/THS.h:4:23: fatal error: THGeneral.h: No such file or directory
compilation terminated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#16>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AOpDK0W75pqQG3IuHnJ6bU8MtBBIlOKKks5t-DnigaJpZM4Usof3>.
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
|
I make the code on my TX2 , and Verifying PyTorch like this:
`nvidia@tegra-ubuntu:~$ python
the demos below work well. but I get some thing like Are there anything I miss ? |
I use tx1 and follow the 8 steps, but failed. 16G is enough for this project?
First time , I get the note like this
You are using pip version 9.0.1, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
so ,I use "pip install torch torchvision" to update ,from https://pytorch.org/
Second time, the cmake step looks googd
-- Found Qt4: /usr/bin/qmake-qt4 (found version "4.8.7")
-- Copying /home/ubuntu/jetson-reinforcement/utils/loadImage.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/rand.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/pi.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/commandLine.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/camera/v4l2Camera.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/camera/gstUtility.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/camera/gstCamera.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/cuda/cudaOverlay.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/cuda/cudaRGB.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/cuda/cudaNormalize.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/cuda/cudaResize.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/cuda/cudaFont.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/cuda/cudaMappedMemory.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/cuda/cudaUtility.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/cuda/cudaYUV.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/display/glTexture.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/display/glDisplay.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/display/glUtility.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/input/devJoystick.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/input/devInput.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/input/devKeyboard.h
-- Copying /home/ubuntu/jetson-reinforcement/utils/data/fontmapA.png
-- Copying /home/ubuntu/jetson-reinforcement/utils/data/fontmapB.png
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ubuntu/jetson-reinforcement/build
so I think I can make it
ubuntu@tegra-ubuntu:~/jetson-reinforcement/build$ make
but ,some thing wrong showed up , and I not sure what should do next.
-- Build files have been written to: /home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/build/THC
[ 3%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCHalf.cu.o
[ 3%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCBlas.cu.o
[ 3%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCReduceApplyUtils.cu.o
[ 4%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCSleep.cu.o
[ 6%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCStorage.cu.o
[ 7%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCStorageCopy.cu.o
[ 8%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCTensor.cu.o
[ 9%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCTensorCopy.cu.o
[ 10%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCTensorMath.cu.o
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
[ 12%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCTensorMath2.cu.o
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
[ 13%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCTensorMathBlas.cu.o
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
[ 14%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCTensorMathMagma.cu.o
[ 15%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCTensorMathPairwise.cu.o
[ 17%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCTensorMathReduce.cu.o
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
[ 18%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCTensorMathScan.cu.o
[ 19%] Building NVCC (Device) object CMakeFiles/THC.dir/THC_generated_THCTensorIndex.cu.o
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THC/THCNumerics.cuh(38): warning: integer conversion resulted in a change of sign
/usr/local/cuda/include/thrust/detail/tuple.inl(248) (col. 8): catastrophic error: error while writing generated C file: No space left on device
1 catastrophic error detected in the compilation of "/tmp/tmpxft_000030b5_00000000-9_THCTensorIndex.cpp2.i".
Compilation terminated.
CMake Error at THC_generated_THCTensorIndex.cu.o.cmake:267 (message):
Error generating file
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/build/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorIndex.cu.o
CMakeFiles/THC.dir/build.make:161: recipe for target 'CMakeFiles/THC.dir/THC_generated_THCTensorIndex.cu.o' failed
make[2]: *** [CMakeFiles/THC.dir/THC_generated_THCTensorIndex.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from tmpxft_00002ed5_00000000-4_THCTensorCopy.cudafe1.stub.c:1:0:
/tmp/tmpxft_00002ed5_00000000-4_THCTensorCopy.cudafe1.stub.c:3548:27: fatal error: error writing to /tmp/ccx0ZMYE.s: No space left on device
compilation terminated.
CMake Error at THC_generated_THCTensorCopy.cu.o.cmake:267 (message):
Error generating file
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/build/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorCopy.cu.o
CMakeFiles/THC.dir/build.make:105: recipe for target 'CMakeFiles/THC.dir/THC_generated_THCTensorCopy.cu.o' failed
make[2]: *** [CMakeFiles/THC.dir/THC_generated_THCTensorCopy.cu.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/THC.dir/all' failed
make[1]: *** [CMakeFiles/THC.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
running develop
-- Building version 0.3.0b0+af3964a
running egg_info
Many .h files were labled" No such file or directory"
ubuntu@tegra-ubuntu:~/jetson-reinforcement/build$ make
[ 36%] Built target jetson-utils
[ 38%] Building CXX object CMakeFiles/jetson-reinforcement.dir/c/rlAgent.cpp.o
In file included from /home/ubuntu/jetson-reinforcement/build/pytorch/torch/csrc/THP.h:7:0,
from /home/ubuntu/jetson-reinforcement/c/pyTorch.h:16,
from /home/ubuntu/jetson-reinforcement/c/rlAgent.cpp:6:
/home/ubuntu/jetson-reinforcement/build/pytorch/torch/lib/THS/THS.h:4:23: fatal error: THGeneral.h: No such file or directory
compilation terminated.
The text was updated successfully, but these errors were encountered: