AlbertYang
AlbertYang
@Cocoalate 从作者的代码看,validation是对测试集的1000作测试,这个准确率也应该是这1000个图像的准确率,而非整个测试集的准确率,我也从0训练了10个epoch就能达了96.59,但这个分数也只是测试集里1000张图像的里的准确率
@whwme 这个是在瓶颈出现在读数据上面,可以改变一下读数据的方式,可以快1倍以上的速度,我16G内存,4G显示,Batch_size, 128,一个epoch大概 5000秒,看作者的,200张图像/s,我没有用prefecter技术之前大概是320张图像/s。用了之后750张/s。如果内存够大,你可以把batch_size 增大。  修改lib/core/function.py 整个文件都修改了。 代码如下: ` """ 利用了prefetcher技术,连计算的同时也在读取数据 虽然现在GPU利用率比之前还低,但处理速度,比之前快了一倍 缺点:内存占用比之前多一倍 """ from __future__ import absolute_import import time import lib.utils.utils as utils import torch class AverageMeter(object): """Computes...
这个不会影响模型的,这只是dataloader会快一点。你可以测试一下准确率看看效果。这个跟原来的没有什么区别,区别是是加了prefecter技术,读数据时候快点。应该不影响到loss还有准确率的。你可以对比一下两个模型的效果。
@abidlabs Hi, I have the same issue, when access from localhost:7860, everything is fine. But from ip_address:7860, copy button not work. I had fixed this issue by following the solution...
I got the same issue, but if you are running is the same docker-compose.yml, start the service with `docker compose up -d`, it should work. it works for me. ##...