复现代码遇到的问题记录

复现MANTRA代码来来回回总是在配环境,配好又重新配,因此记录本次配环境碰到的问题。

这次碰到疯狂报错的qt模块,网上无法解决。

python版本3.7,将包全部重新安装(仅使用pip工具)才能继续运行。安装cuda,N卡驱动(ubuntu附加驱动)

tensorboard 查看日志使用命令 tensorboard --logdir=./

将训练好的模型移动至指定位置,即可训练/测试。

碰到:RuntimeError: main thread is not in main loop。

按照“RuntimeError: main thread is not in main loop“的几种解决方案_未名编程的博客-CSDN博客帖子的方法三添加了一行命令,解决问题。

碰到UserWarning: Default grid_sample and affine_grid behavior will be changed to align_corners=False from 1.4.0. See the documentation of grid_sample for details.

/home/eva/下载/yes/envs/man/lib/python3.7/site-packages/torch/nn下的functional.py中def grid_sample和def  affine_grid中的align_corners=None改为True

报错:Tensorboardx TypeError: Descriptors cannot not be created directly.

降级protobuf

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值