
Errors
freya_hu
这个作者很懒,什么都没留下…
展开
-
sogopinyin安装后用不了
根据官网安装好后用不了sudo apt install libqt5qml5 libqt5quick5 libqt5quickwidgets5 qml-module-qtquick2 sudo apt install libgsettings-qt1参考:https://blog.youkuaiyun.com/ccsodefhy/article/details/123122200原创 2022-05-05 01:11:32 · 250 阅读 · 0 评论 -
process() missing 1 required positional argument: ‘PT_path‘
process(),是一个函数,缺少了一个必须的位置参数(文件),找到这个函数使用的地方,看看函数输入与返回的argument是否对齐。eg:调用process的时候,少了PT_path这个参数,应改为 GT, MT= process(a, b, c) or 把PT_path删除。 GT, MT= process(a, b) def process(GT_file, MT_file, PT_path, option=None): if GT_file < MT原创 2022-02-23 04:25:19 · 855 阅读 · 0 评论 -
RuntimeError: Error(s) in loading state_dict for DataParallel:
错误原因是在train使用了单GPU,但在test里面使用多GPU。RuntimeError: Error(s) in loading state_dict for DataParallel: Missing key(s) in state_dict: "module.encoder_stage1.0.weight". Unexpected key(s) in state_dict: "encoder_stage1.0.weight".code里这句话就是使用多GPU的意思mo...原创 2022-01-17 21:00:11 · 3662 阅读 · 0 评论