首页 > 其他分享 >ModuleNotFoundError: No module named '.home'

ModuleNotFoundError: No module named '.home'

时间:2023-11-12 22:23:39浏览次数:30  
标签:named easytorch py training cfg home ModuleNotFoundError line

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'

 

标签:named,easytorch,py,training,cfg,home,ModuleNotFoundError,line
From: https://www.cnblogs.com/emanlee/p/17827982.html

相关文章

  • 怎么通过LiveNVR流媒体平台配置实现将海康Ehome、ISUP协议统一接入实现Web无插件播放
    @目录1、海康ISUP接入配置2、海康设备接入2.1、海康EHOME接入配置示例2.2、海康ISUP接入配置示例3、通道配置3.1、直播流接入类型海康ISUP3.2、海康ISUP设备ID3.3、启用保存3.4、接入成功4、相关问题4.1、其它方式接入4.2、如何输出GB281815、RTSP/HLS/FLV/RTMP拉流Onvif流媒......
  • linux 扩容home
    title:Linux扩容home分区挂载date:2023/10/1320:46:25toc:truecategories:Linux命令excerpt:"LinuxLinux扩容home分区挂载"tags:Linuxhttps://zhuanlan.zhihu.com/p/307657410格式化分区mkfs.ext4/dev/sdb1创建目录sudomkdir/media/home......
  • EHOME协议(ISUP协议)存在的意义
    EHOME协议(ISUP协议)到底有啥用?ISUP协议是海康在部分新版的nvr里面采用的新的名称。较多的版本NVR、IPC采用的还是EHOME协议。难道是莹石拆分了,EHOME又太像是为了解决智能家居的一个名称,所以换个名号行走江湖?(猜测)1.EHOME协议能解决普通广域网接入中心可以理解成在NVR或摄像机此类......
  • TypeScript export named default error All In One
    TypeScriptexportnameddefaulterrorAllInOneerror//✅functiondeclare//exportdefaultfunctionapp(){return`indexapp`;};//❌variabledeclare//exportdefaultconstapp=`indexapp`;//constapp=`indexapp`;//exportdefaultapp;......
  • Python ImportError: No module named Tkinter
    fromTkinterimport*root=Tk()root.mainloop() 运行出现错误:>>>Traceback(mostrecentcalllast):File"E:/××××/Python/test",line1,in<module>fromTkinterimport*ImportError:NomodulenamedTkinter改......
  • XXII Open Cup named after E.V. Pankratiev, Grand Prix of Daejeon 部分题解
    省流:A、B、C、E、H、K、L。D和I之后可能会看心情补,剩下的题大概这辈子都不会做了。A.Points有两个由二维平面上的点组成的可重点集\(U,V\)。如下定义\(D(U,V)\):当\(U,V\)中存在一个为空时,\(D(U,V)=-1\)。否则\(D(U,V)=\min\limits_{(u_x,u_y)\inU,(v_x,v_y)......
  • ModuleNotFoundError: No module named 'google_drive_downloader'&&No matching dist
    安装googledrivedownloader(adaface)C:\Users\liruilong\Documents\GitHub\caface_demo\demo>pythonmain.py--fusion_methodcluster_and_aggregateTraceback(mostrecentcalllast):File"main.py",line17,in<module>fromface_d......
  • ImportError: No module named argparse
    如果有root权限,可以运行:easy_installargparse 如果没有root权限,Asasimplesolutioncopyargparse.pyfromhttps://code.google.com/p/argparse/source/browse/argparse.pytoyourprojectfolder. REF:https://pypi.python.org/pypi/argparsehttps://code.google.com/p/arg......
  • life at home
    1)Ihadproblemsdoingsthandgottired.thesecushions坐垫makethecouchcomfortable.Apainterdecoratedthekitchenforus.Igetstressedwhenithinkaboutpacking.thenewlampmakestheroombrighter.tom'sarmgottiredsobencarriedtheb......
  • 切换JDK版本时修改JAVA_HOME环境变量不生效
     Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager\Environment           解决方法: (1)检查环境变量Path;(2)删除java.exe,javaw.exe,javaws.exe 在修改JDK的安装目录的情况下会出现失效的时候,因为jdk在安装的时候自己在path中添加了......