复现代码遇到的问题记录

编程知识 行业动态 更新时间:2024-06-13 00:20:35

复现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

更多推荐

复现代码遇到的问题记录

本文发布于:2023-03-30 04:22:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/ec5ffe495d85b501f7024ea4052d9762.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:代码

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!