Dawn11041107
Dawn11041107
You can change c1,c2 from tensor to int type,such as ```python c1 = (int(c1[0].item()), int(c1[1].item())) c2 = (int(c2[0].item()), int(c2[1].item())) ``` Therefore, the whole function is ```python def write(x, results): c1...
> > windows10 cuda 11.7 visual studio 2022 python 3.10.13 > > Because run `pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch` failed . > > So I download the tiny-cuda-nn code on local. >...
I tried a lots, and found the following methods works for me: 1.Clone the project first: ``` git clone --recursive https://github.com/nvlabs/tiny-cuda-nn ``` 2.Go into the project folder: ``` cd tiny-cuda-nn...