You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[MARCONet/test_sr.py](https://github.com/csxmli2016/MARCONet/blob/58582fe5801b4ff3b5cdaf6e96c8feb3a426b68a/test_sr.py#L68)
Line 68
in
[58582fe](/csxmli2016/MARCONet/commit/58582fe5801b4ff3b5cdaf6e96c8feb3a426b68a)
modelOCR.load_state_dict(torch.load('./checkpoints/net_real_world_ocr.pth')['params'], strict=True)
和
[MARCONet/test_sr.py](https://github.com/csxmli2016/MARCONet/blob/58582fe5801b4ff3b5cdaf6e96c8feb3a426b68a/test_sr.py#L61)
Line 61
in
[58582fe](/csxmli2016/MARCONet/commit/58582fe5801b4ff3b5cdaf6e96c8feb3a426b68a)
modelBBox.load_state_dict(torch.load('./checkpoints/net_new_bbox.pth')['params'], strict=True)
Activity
csxmli2016 commentedon Mar 3, 2025
python scripts/download.py可以下载所需的所有文件。你提的checkpoints/download_github.py是下载测试用的模型,不是训练的。MARCONet/test_sr.py
Line 68 in 58582fe
MARCONet/test_sr.py
Line 61 in 58582fe
EchoXu98 commentedon Mar 3, 2025
好的,谢谢作者的解答,给了我很大帮助
EchoXu98 commentedon Mar 3, 2025
你好,再请问一下,TrainData/BGSample/DF2K_Patch给了数张裁剪图像的例子,请问下背景裁剪后图像的数量对最终模型效果的影响大吗?有这个疑问,是因为我想train一下,是否需要下载DF2K或者DIV2K数据集裁出更多的背景。
csxmli2016 commentedon Mar 3, 2025
影响不大,但是也不要让模型过拟合到这种背景纹理了。
EchoXu98 commentedon Mar 3, 2025
好的,谢谢作者