Closed Starak-x closed 6 months ago
../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [6,0,0], thread: [74,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [6,0,0], thread: [75,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [6,0,0], thread: [76,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [6,0,0], thread: [77,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [6,0,0], thread: [78,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [6,0,0], thread: [79,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [6,0,0], thread: [80,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [6,0,0], thread: [81,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [6,0,0], thread: [82,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [6,0,0], thread: [83,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [6,0,0], thread: [84,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [6,0,0], thread: [85,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [6,0,0], thread: [86,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [6,0,0], thread: [87,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [6,0,0], thread: [88,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [6,0,0], thread: [89,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [6,0,0], thread: [90,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [6,0,0], thread: [91,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [6,0,0], thread: [92,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [6,0,0], thread: [93,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [6,0,0], thread: [94,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [6,0,0], thread: [95,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
Printing profiling stats, from longest to shortest duration in seconds
Trainer.train_iteration: 8.3514
CarNerfStageOnePipeline.get_train_loss_dict: 8.3510
Traceback (most recent call last):
File "/datahdd/hx/miniconda3/envs/car/bin/ns-train", line 8, in
It appears that the issue you're experiencing is likely caused by an incompatible CUDA version. Based on the information provided on the PyTorch website (https://pytorch.org/get-started/previous-versions/), PyTorch version 1.13.1 only supports CUDA versions 11.6 and 11.7. To resolve this issue, I suggest following these steps:
Install the "nerfstudio" dependency first. Make sure to install the appropriate version compatible with your CUDA version. Try running the example code using "nerfstudio" to check if it works without any compatibility issues. Once you have confirmed that the code runs successfully with "nerfstudio," proceed to install "car-studio" to continue your work. If you encounter any compatibility issues between "nerfstudio" and "car-studio," you can investigate further to identify and resolve the specific incompatibility problem
I use CUDA11.7 and Pytorch13.1, but the problem still exists
I changed the "h“ to "height" and "w" to "width" in carstudio_dataparser.py, then the problem was solved
Hi! Thank you for your great work!
I have met the same problem even though I changed "w" to "width" and "h" to "height". I found that image_coords does not cover all values of y and x. How could I solve this one?
Thank you!
The terms 'w' and 'h' refer to the dimensions of the image, specifically its width and height. On the other hand, 'width' and 'height' are used to describe the dimensions of the car within the image. To assist with debugging, could you please specify which dataset you are encountering this issue with? Providing additional details will be greatly appreciated.
Hi! Thank you for your great work!
I have met the same problem even though I changed "w" to "width" and "h" to "height". I found that image_coords does not cover all values of y and x. How could I solve this one?
Thank you!
Thank you for your replay! As far as I remember, I used kitti-mot dataset which was preprocessed by the following code.
python car_studio/scripts/datasets/process_kitti.py --dataset km --data_dir "./data/kitti-mot"
Hi Tianyu, Congrats on getting this great work accpeted and thanks for releasing the code! I got this error when run
ns-train car-nerf
And I use cuda11.8 pytorch13.1