Loading

摘要: pytorch 社区踩坑汇总 文中代码不一定能直接应用,仅仅记录思路 model.eval() 和 with torch.no_grad() 的区别 model.eval() will notify all your layers that you are in eval mode, that wa 阅读全文
posted @ 2021-04-27 11:04 konosubaakua 阅读(1360) 评论(0) 推荐(0)
摘要: 找不到 cm-super 宏包 miktex 安装 cm-super 找不到 latex latex 环境变量要放在系统 path 里,位置靠前 带下划线的名称用 latex 渲染出错 去掉下划线,参考这里 找不到字体 rsfs10 miktex-maketfm.exe rsfs10 阅读全文
posted @ 2021-04-22 11:04 konosubaakua 阅读(648) 评论(0) 推荐(0)
摘要: def draw_images_grid_with_labels(data, nrows, figsize=(12, 12), **subplots_adjust_param): import matplotlib.pyplot as plt # fig, axes = plt.subplots(n 阅读全文
posted @ 2021-04-22 09:19 konosubaakua 阅读(185) 评论(0) 推荐(0)
摘要: 试试加这一句%config Completer.use_jedi = False 效果如下: 阅读全文
posted @ 2021-04-21 12:33 konosubaakua 阅读(697) 评论(0) 推荐(0)
摘要: 通过命令行输入矩阵大小,矩阵取值随机 //#include <ctime> #include <cstdlib> #include <cstdio> #include <cstring> #include <chrono> #include <iostream> #include <vector> 阅读全文
posted @ 2021-03-31 14:30 konosubaakua 阅读(270) 评论(0) 推荐(0)