尝试训练 SeGAN 模型时无法在模式 r 中打开 <resnet-18.t7>

问题描述

我正在尝试使用存储库 here 实现 SeGAN 论文。我安装了先决条件并尝试使用以下方法训练模型:

th main.lua -baseLR 1e-3 -end2end -istrain "train"

我收到了这个错误

WARNING: specified initialized model is ignored because resnet model will be loaded!    
/home/darya/distro/install/bin/luajit: cannot open <resnet-18.t7> in mode r  at /home/darya/distro/pkg/torch/lib/TH/THdiskFile.c:673
stack traceback:
    [C]: at 0x7f6f3df5e210
    [C]: in function 'diskFile'
    /home/darya/distro/install/share/lua/5.1/torch/File.lua:405: in function 'load'
    /home/darya/SeGAN/networks/ModelTrainTestBatch.lua:285: in function 'LoadModel'
    main.lua:293: in main chunk
    [C]: in function 'dofile'
    ...rya/distro/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
    [C]: at 0x55fcae37f570

我不确定(因为我没有经验)但我认为 resnet 正在停止加载另一个模型,但由于某些问题它也无法加载。我已经搜索过了,但没有找到对我的问题有帮助的内容

任何帮助将不胜感激。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)