RuntimeError Traceback (most recent call last)
Cell In[16], line 10
7 import ssl
8 import threading
---> 10 from colorizator import MangaColorizator
11 from inference import colorize_images as batch_colorize_images
File /kaggle/working/Manga-Colorizer/Backend/colorizator.py:1
----> 1 import torch
2 from torchvision.transforms import ToTensor
3 import numpy as np
File /opt/conda/lib/python3.10/site-packages/torch/init.py:229
227 if USE_GLOBAL_DEPS:
228 _load_global_deps()
--> 229 from torch._C import * # noqa: F403
231 # Appease the type checker; ordinarily this binding is inserted by the
232 # torch._C module initialization code in C
233 if TYPE_CHECKING:
RuntimeError: THPDtypeType.tp_dict == nullptr INTERNAL ASSERT FAILED at "/usr/local/src/pytorch/torch/csrc/Dtype.cpp":135, please report a bug to PyTorch.
when I run the kaggle notebook it says![Screenshot 2024-02-17 000538](https://github.com/BinitDOX/Manga-Colorizer/assets/153406380/82bde704-33a3-44a5-884a-b5ebe65f5ef3)
RuntimeError Traceback (most recent call last) Cell In[16], line 10 7 import ssl 8 import threading ---> 10 from colorizator import MangaColorizator 11 from inference import colorize_images as batch_colorize_images
File /kaggle/working/Manga-Colorizer/Backend/colorizator.py:1 ----> 1 import torch 2 from torchvision.transforms import ToTensor 3 import numpy as np
File /opt/conda/lib/python3.10/site-packages/torch/init.py:229 227 if USE_GLOBAL_DEPS: 228 _load_global_deps() --> 229 from torch._C import * # noqa: F403 231 # Appease the type checker; ordinarily this binding is inserted by the 232 # torch._C module initialization code in C 233 if TYPE_CHECKING:
RuntimeError: THPDtypeType.tp_dict == nullptr INTERNAL ASSERT FAILED at "/usr/local/src/pytorch/torch/csrc/Dtype.cpp":135, please report a bug to PyTorch.
any idea how to fix it please?