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
Traceback (most recent call last):
File "train.py", line 537, in
train(hyp, opt, device, tb_writer, wandb)
File "train.py", line 203, in train
tb_writer.add_histogram('classes', c, 0)
File "C:\Users\xxx\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\utils\tensorboard\writer.py", line 485, in add_histogram
histogram(tag, values, bins, max_bins=max_bins), global_step, walltime
File "C:\Users\xxx\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\utils\tensorboard\summary.py", line 358, in histogram
hist = make_histogram(values.astype(float), bins, max_bins)
File "C:\Users\xxx\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\utils\tensorboard\summary.py", line 386, in make_histogram
cum_counts = np.cumsum(np.greater(counts, 0, dtype=np.int32)
TypeError: No loop matching the specified signature and casting was found for ufunc greater
The text was updated successfully, but these errors were encountered:
EngrNaeemRaza
changed the title
Training Error:
Training Error: TypeError: No loop matching the specified signature and casting was found for ufunc greater
Mar 18, 2023
Traceback (most recent call last):
File "train.py", line 537, in
train(hyp, opt, device, tb_writer, wandb)
File "train.py", line 203, in train
tb_writer.add_histogram('classes', c, 0)
File "C:\Users\xxx\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\utils\tensorboard\writer.py", line 485, in add_histogram
histogram(tag, values, bins, max_bins=max_bins), global_step, walltime
File "C:\Users\xxx\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\utils\tensorboard\summary.py", line 358, in histogram
hist = make_histogram(values.astype(float), bins, max_bins)
File "C:\Users\xxx\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\utils\tensorboard\summary.py", line 386, in make_histogram
cum_counts = np.cumsum(np.greater(counts, 0, dtype=np.int32)
TypeError: No loop matching the specified signature and casting was found for ufunc greater
The text was updated successfully, but these errors were encountered: