GraceKafuu
GraceKafuu
Loss正常下降,所有的看起来都很正常,就是用模型测试图片的时候没有框显示,这是什么原因呢?
At about 20 epochs, the err_d sudden increase from nearly 0 to 13.81551, and remain unchanged. Why?
python anomaly_detection.py carpet t_out = (teacher(inputs) - t_mu) / torch.sqrt(t_var) TypeError: sqrt(): argument 'input' (position 1) must be Tensor, not int when i change it to: t_var = torch.Tensor(t_var) got...
 其他环境我都bao持一致,我想用VS2019,这个要怎么修改呢
#!/usr/bin/env python print("##############################################") 为啥没反应,我想要的结果是双击转换的.command文件,自动弹出终端输出############################################## 但是没有任何反应,咋搞?
我知道这个: https://www.yuucn.com/a/1521741.html
1.不断打印torch版本号 INFO: {'lr': 0.01, 'train': {'Accuracy': 98.828125, 'loss': 0.034419890493154526}} Train Epoch #4: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 5/5 [00:42
你好,感谢你的复现! 我在跑evaluate.py的时候: plt.imshow(plt_img, cmap='jet') # 这里报错: TypeError: Invalid dimensions for image data,上一步plt_img的shape为[256, 256, 1],改为[256, 256]后,还是报这个错。 后来我把plt这部分注释掉了,跑后面的程序,然后发现结果图 res.jpg 效果不是特别理想,有些确实很不错(我跑的carpet数据,patch_size[17, 33, 65], 3个student)。请问有无提升的计划,我建了一个群(QQ: 689772351),大家一起讨论,嘻嘻~ 
我将模型转成onnx,使用onnxruntime 测试,使用 fuse_all_conv_bn 之后推理耗时是没使用的3-5倍