For the first time using deep learning, this error occurred when running the "Designing sequences from a pdb file using a trained model in Notebook" section code,May I ask if there is any solution?
File "D:\app\anaconda3\envs\ByProt\code\src\yunxing2.py", line 1, in
from byprot.utils.config import compose_config as Cfg
File "D:\lyl\app\anaconda3\envs\ByProt\code\src\byprot__init.py", line 2, in
import byprot.datamodules
File "D:\app\anaconda3\envs\ByProt\code\src\byprot\datamodules__init__.py", line 18, in
import_modules(os.path.dirname(file), "byprot.datamodules")
File "D:\app\anaconda3\envs\ByProt\code\src\byprot\utils\init.py", line 329, in import_modules
importlib.import_module(_namespace + "." + module_name)
File "D:\app\anaconda3\envs\ByProt\lib\importlib\init__.py", line 122, in import_module
raise TypeError(msg.format(name))
TypeError: the 'package' argument is required to perform a relative import for '.cath_datamodule'
For the first time using deep learning, this error occurred when running the "Designing sequences from a pdb file using a trained model in Notebook" section code,May I ask if there is any solution?
File "D:\app\anaconda3\envs\ByProt\code\src\yunxing2.py", line 1, in
from byprot.utils.config import compose_config as Cfg
File "D:\lyl\app\anaconda3\envs\ByProt\code\src\byprot__init.py", line 2, in
import byprot.datamodules
File "D:\app\anaconda3\envs\ByProt\code\src\byprot\datamodules__init__.py", line 18, in
import_modules(os.path.dirname( file), "byprot.datamodules")
File "D:\app\anaconda3\envs\ByProt\code\src\byprot\utils\init.py", line 329, in import_modules
importlib.import_module(_namespace + "." + module_name)
File "D:\app\anaconda3\envs\ByProt\lib\importlib\init__.py", line 122, in import_module
raise TypeError(msg.format(name))
TypeError: the 'package' argument is required to perform a relative import for '.cath_datamodule'