ModuleNotFoundError: No module named '.home'

 

python experiments/train.py -c /home/xq/BasicTS-master/baselines/MLP/MLP_METR-LA.py --gpus '0'
2023-11-12 21:09:25,090 - easytorch-launcher - INFO - Launching EasyTorch training.
Traceback (most recent call last):
  File "/home/xq/BasicTS-master/experiments/train.py", line 25, in <module>
    launch_training(args.cfg, args.gpus)
  File "/home/xq/BasicTS-master/basicts/launcher.py", line 30, in launch_training
    easytorch.launch_training(cfg=cfg, devices=gpus, node_rank=node_rank)
  File "/home/mytool/anaconda3/envs/basicts/lib/python3.9/site-packages/easytorch/launcher/launcher.py", line 59, in launch_training
    cfg = init_cfg(cfg, node_rank == 0)
  File "/home/mytool/anaconda3/envs/basicts/lib/python3.9/site-packages/easytorch/config/utils.py", line 210, in init_cfg
    cfg = import_config(cfg, verbose=save)
  File "/home/mytool/anaconda3/envs/basicts/lib/python3.9/site-packages/easytorch/config/utils.py", line 173, in import_config
    cfg = __import__(path, fromlist=[cfg_name]).CFG
ModuleNotFoundError: No module named '.home'