复现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
更多推荐
复现代码遇到的问题记录
发布评论