Loading weights from local directory Exception ignored in: <generator object PyTorchPredictor.predict at 0x7fe3a1d23a40> Traceback (most recent call last): File "/root/miniconda3/lib/python3.12/site-packages/gluonts/torch/model/predictor.py", line 89, in predict File "/root/miniconda3/lib/python3.12/site-packages/torch/autograd/grad_mode.py", line 84, in __exit__ TypeError: 'NoneType' object is not callable #87
Labels
bug
Something isn't working
Describe the bug
I encountered the following problem when running the sample program
"Loading weights from local directory
Exception ignored in: <generator object PyTorchPredictor.predict at 0x7fe3a1d23a40>
Traceback (most recent call last):
The File "/ root/miniconda3 / lib/python3.12 / site - packages/gluonts/torch/model/predictor. Py", line 89, in predict
The File "/ root/miniconda3 / lib/python3.12 / site - packages/torch/autograd/grad_mode py", line 84, in exit
TypeError: 'NoneType' object is not callable '.
How to solve it?
Environment
Python version: 3.12.2
PyTorch version: 2.3.1+cu118
The text was updated successfully, but these errors were encountered: