I get this error whenever I try to run app.py or interface.py
Console Output:
No CUDA GPU found in your device
D:\Users\tesok\anaconda3\lib\multiprocessing\pool.py:268: ResourceWarning: unclosed running multiprocessing pool <multiprocessing.pool.Pool state=RUN pool_size=1>
_warn(f"unclosed running multiprocessing pool {self!r}",
ResourceWarning: Enable tracemalloc to get the object allocation traceback
D:\Users\tesok\anaconda3\lib\site-packages\torchvision\transforms\functional_tensor.py:5: UserWarning: The torchvision.transforms.functional_tensor module is deprecated in 0.15 and will be removed in 0.17. Please don't rely on it. You probably just need to use APIs in torchvision.transforms.functional or in torchvision.transforms.v2.functional.
warnings.warn(
D:\Users\tesok\anaconda3\lib\site-packages\basicsr\metrics\niqe.py:5: DeprecationWarning: Please use convolve from the scipy.ndimage namespace, the scipy.ndimage.filters namespace is deprecated.
from scipy.ndimage.filters import convolve
Traceback (most recent call last):
File "D:\Users\tesok\anaconda3\lib\site-packages\torch\serialization.py", line 354, in _check_seekable
f.seek(f.tell())
AttributeError: 'NoneType' object has no attribute 'seek'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "G:\Downloads\SuperResolutionAnimeDiffusion-main\SuperResolutionAnimeDiffusion-main\app.py", line 33, in
magnifier = ImageMagnifier()
File "G:\Downloads\SuperResolutionAnimeDiffusion-main\SuperResolutionAnimeDiffusion-main\Waifu2x\magnify.py", line 39, in init
torch.load(self.checkpoint, map_location="cpu")
File "D:\Users\tesok\anaconda3\lib\site-packages\torch\serialization.py", line 791, in load
with _open_file_like(f, 'rb') as opened_file:
File "D:\Users\tesok\anaconda3\lib\site-packages\torch\serialization.py", line 276, in _open_file_like
return _open_buffer_reader(name_or_buffer)
File "D:\Users\tesok\anaconda3\lib\site-packages\torch\serialization.py", line 261, in init
_check_seekable(buffer)
File "D:\Users\tesok\anaconda3\lib\site-packages\torch\serialization.py", line 357, in _check_seekable
raise_err_msg(["seek", "tell"], e)
File "D:\Users\tesok\anaconda3\lib\site-packages\torch\serialization.py", line 350, in raise_err_msg
raise type(e)(msg)
AttributeError: 'NoneType' object has no attribute 'seek'. You can only torch.load from a file that is seekable. Please pre-load the data into a buffer like io.BytesIO and try to load from it instead.
I get this error whenever I try to run app.py or interface.py
Console Output:
No CUDA GPU found in your device
D:\Users\tesok\anaconda3\lib\multiprocessing\pool.py:268: ResourceWarning: unclosed running multiprocessing pool <multiprocessing.pool.Pool state=RUN pool_size=1>
_warn(f"unclosed running multiprocessing pool {self!r}",
ResourceWarning: Enable tracemalloc to get the object allocation traceback
D:\Users\tesok\anaconda3\lib\site-packages\torchvision\transforms\functional_tensor.py:5: UserWarning: The torchvision.transforms.functional_tensor module is deprecated in 0.15 and will be removed in 0.17. Please don't rely on it. You probably just need to use APIs in torchvision.transforms.functional or in torchvision.transforms.v2.functional.
warnings.warn(
D:\Users\tesok\anaconda3\lib\site-packages\basicsr\metrics\niqe.py:5: DeprecationWarning: Please use
convolvefrom thescipy.ndimagenamespace, thescipy.ndimage.filtersnamespace is deprecated.from scipy.ndimage.filters import convolve
Traceback (most recent call last):
File "D:\Users\tesok\anaconda3\lib\site-packages\torch\serialization.py", line 354, in _check_seekable
f.seek(f.tell())
AttributeError: 'NoneType' object has no attribute 'seek'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "G:\Downloads\SuperResolutionAnimeDiffusion-main\SuperResolutionAnimeDiffusion-main\app.py", line 33, in
magnifier = ImageMagnifier()
File "G:\Downloads\SuperResolutionAnimeDiffusion-main\SuperResolutionAnimeDiffusion-main\Waifu2x\magnify.py", line 39, in init
torch.load(self.checkpoint, map_location="cpu")
File "D:\Users\tesok\anaconda3\lib\site-packages\torch\serialization.py", line 791, in load
with _open_file_like(f, 'rb') as opened_file:
File "D:\Users\tesok\anaconda3\lib\site-packages\torch\serialization.py", line 276, in _open_file_like
return _open_buffer_reader(name_or_buffer)
File "D:\Users\tesok\anaconda3\lib\site-packages\torch\serialization.py", line 261, in init
_check_seekable(buffer)
File "D:\Users\tesok\anaconda3\lib\site-packages\torch\serialization.py", line 357, in _check_seekable
raise_err_msg(["seek", "tell"], e)
File "D:\Users\tesok\anaconda3\lib\site-packages\torch\serialization.py", line 350, in raise_err_msg
raise type(e)(msg)
AttributeError: 'NoneType' object has no attribute 'seek'. You can only torch.load from a file that is seekable. Please pre-load the data into a buffer like io.BytesIO and try to load from it instead.