You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I start the train process, I get this error. Can you help with the solution?
Create filelist...done, 0 train files, 2 test files
Creating the network...Model with dropout
Done
Create the datasets...Done
Create optimizer...Done
Epoch 0: 0%| | 0/1000 [00:00<?, ?it/s]
Epoch 0: 0%| | 0/1000 [00:01<?, ?it/s]
Traceback (most recent call last):
File "npm3d_seg.py", line 383, in
main()
File "npm3d_seg.py", line 295, in main
for pts, features, seg in t:
File "C:\Users\akillisehir1.conda\envs\bimtas\lib\site-packages\tqdm\std.py", line 1195, in iter
for obj in iterable:
File "C:\Users\akillisehir1.conda\envs\bimtas\lib\site-packages\torch\utils\data\dataloader.py", line 435, in next
data = self._next_data()
File "C:\Users\akillisehir1.conda\envs\bimtas\lib\site-packages\torch\utils\data\dataloader.py", line 1085, in _next_data
return self._process_data(data)
File "C:\Users\akillisehir1.conda\envs\bimtas\lib\site-packages\torch\utils\data\dataloader.py", line 1111, in _process_data
data.reraise()
File "C:\Users\akillisehir1.conda\envs\bimtas\lib\site-packages\torch_utils.py", line 428, in reraise
raise self.exc_type(msg)
ValueError: Caught ValueError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "C:\Users\akillisehir1.conda\envs\bimtas\lib\site-packages\torch\utils\data_utils\worker.py", line 198, in _worker_loop
data = fetcher.fetch(index)
File "C:\Users\akillisehir1.conda\envs\bimtas\lib\site-packages\torch\utils\data_utils\fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "C:\Users\akillisehir1.conda\envs\bimtas\lib\site-packages\torch\utils\data_utils\fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "D:\Çağdaş\Nota_Bulutu_Python\npm3d_seg.py", line 99, in getitem
index = random.randint(0, len(self.filelist)-1)
File "C:\Users\akillisehir1.conda\envs\bimtas\lib\random.py", line 221, in randint
return self.randrange(a, b+1)
File "C:\Users\akillisehir1.conda\envs\bimtas\lib\random.py", line 199, in randrange
raise ValueError("empty range for randrange() (%d,%d, %d)" % (istart, istop, width))
ValueError: empty range for randrange() (0,0, 0)
The text was updated successfully, but these errors were encountered:
When I start the train process, I get this error. Can you help with the solution?
Create filelist...done, 0 train files, 2 test files
Creating the network...Model with dropout
Done
Create the datasets...Done
Create optimizer...Done
Epoch 0: 0%| | 0/1000 [00:00<?, ?it/s]
Epoch 0: 0%| | 0/1000 [00:01<?, ?it/s]
Traceback (most recent call last):
File "npm3d_seg.py", line 383, in
main()
File "npm3d_seg.py", line 295, in main
for pts, features, seg in t:
File "C:\Users\akillisehir1.conda\envs\bimtas\lib\site-packages\tqdm\std.py", line 1195, in iter
for obj in iterable:
File "C:\Users\akillisehir1.conda\envs\bimtas\lib\site-packages\torch\utils\data\dataloader.py", line 435, in next
data = self._next_data()
File "C:\Users\akillisehir1.conda\envs\bimtas\lib\site-packages\torch\utils\data\dataloader.py", line 1085, in _next_data
return self._process_data(data)
File "C:\Users\akillisehir1.conda\envs\bimtas\lib\site-packages\torch\utils\data\dataloader.py", line 1111, in _process_data
data.reraise()
File "C:\Users\akillisehir1.conda\envs\bimtas\lib\site-packages\torch_utils.py", line 428, in reraise
raise self.exc_type(msg)
ValueError: Caught ValueError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "C:\Users\akillisehir1.conda\envs\bimtas\lib\site-packages\torch\utils\data_utils\worker.py", line 198, in _worker_loop
data = fetcher.fetch(index)
File "C:\Users\akillisehir1.conda\envs\bimtas\lib\site-packages\torch\utils\data_utils\fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "C:\Users\akillisehir1.conda\envs\bimtas\lib\site-packages\torch\utils\data_utils\fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "D:\Çağdaş\Nota_Bulutu_Python\npm3d_seg.py", line 99, in getitem
index = random.randint(0, len(self.filelist)-1)
File "C:\Users\akillisehir1.conda\envs\bimtas\lib\random.py", line 221, in randint
return self.randrange(a, b+1)
File "C:\Users\akillisehir1.conda\envs\bimtas\lib\random.py", line 199, in randrange
raise ValueError("empty range for randrange() (%d,%d, %d)" % (istart, istop, width))
ValueError: empty range for randrange() (0,0, 0)
The text was updated successfully, but these errors were encountered: