Closed lovekang3344 closed 9 months ago
I got it. When I use pip install torchscale
,I realized that there isn't a class here called RetNetConfig in config.py. When I pulled the code directly from GitHub and replaced the original one with the torchscale folder in it, it solved the issue.
Thanks for reporting the issue. We will fix it.
The latest release (https://pypi.org/project/torchscale/) should fix this problem. Please try upgrading torchscale. Any problem feel free to reopen the issue. Thanks!
When using
from torchscale.architecture.config import RetNetConfig
, I got a error.But I can import Decoder and EncoderDecoder. help!