mingyuliutw / UNIT

Unsupervised Image-to-Image Translation
Other
1.98k stars 360 forks source link

a question about vgg16.t7 #81

Closed Linlin0611 closed 5 years ago

Linlin0611 commented 6 years ago

Hello, I downloaded the vgg16.t7 manually, when I ran"load_lua(r"D:\Progarm Files\eclipse\preferences\UNIT\vgg16.t7")", I got this error message:"unknown type id 1056626884. The file may be corrupted." Why is this problem? I had downloaded it several times.

Thank you for your answer.

mingyuliutw commented 6 years ago

@Linlin0611 Does automatic download work for you?

Linlin0611 commented 6 years ago

@mingyuliutw No, it doesn't work. When I ran "os.system('wget http...')", the 'wget' seems cannot be recognized. Thanks a lot.

mingyuliutw commented 6 years ago

If you are using Ubuntu, you should install wget first. Something like

sudo apt-get install wget

Linlin0611 commented 6 years ago

Thanks! I am using win10, I have installed wget successfully, but it still doesn't work.

ShihuaHuang95 commented 5 years ago

So do I... What is wrong with this weights?

mm246 commented 5 years ago

changing line 226 of utils.py from vgglua = load_lua(os.path.join(model_dir, 'vgg16.t7')) to vgglua = load_lua(os.path.join(model_dir, 'vgg16.t7'),long_size=8) solved the problem in my case

12cheny commented 5 years ago

May you tell me where can I download vgg16.t7, I have tried many websites.

Linlin0611 commented 5 years ago

I have one, but I'm not sure if it is what you want. how can I give it to you, it is more than 500M.

At 2019-03-08 16:48:38, "12cheny" notifications@github.com wrote:

May you tell me where can I download vgg16.t7, I have tried many websites.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

12cheny commented 5 years ago

It's my mail :2733743979@qq.com. You can send it to me by email. Thank you very much.

Linlin0611 commented 5 years ago

加你好友了,邮件传递太慢了,qq上发给你

戴玉静

邮箱:daiyjxyj@163.com |

签名由 网易邮箱大师 定制

On 03/08/2019 17:03, 12cheny wrote:

It's my mail :2733743979@qq.com. You can send it to me by email. Thank you very much.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

wangsigong commented 2 years ago

Hello, have you ever encountered this problem?

for (src, dst) in zip(vgglua.parameters()[0], vgg.parameters()): TypeError: 'NoneType' object is not callable

BUPThua1 commented 2 years ago

Hello, have you ever encountered this problem?

for (src, dst) in zip(vgglua.parameters()[0], vgg.parameters()): TypeError: 'NoneType' object is not callable

Hello, have you solved it?

wangsigong commented 2 years ago

Time has passed too long, I do not seem to be able to run this network, as if this line needs to delete a parameter;

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年3月16日(星期三) 下午3:39 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [mingyuliutw/UNIT] a question about vgg16.t7 (#81)

Hello, have you ever encountered this problem?

for (src, dst) in zip(vgglua.parameters()[0], vgg.parameters()): TypeError: 'NoneType' object is not callable

Hello, have you solved it?

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

wangsigong commented 2 years ago

oh,vgg16.t7 maybe translated by vgg16.weight,but it is too big,how can i give you?

------------------ 原始邮件 ------------------ 发件人: "mingyuliutw/UNIT" @.>; 发送时间: 2022年3月16日(星期三) 下午3:39 @.>; @.**@.>; 主题: Re: [mingyuliutw/UNIT] a question about vgg16.t7 (#81)

Hello, have you ever encountered this problem?

for (src, dst) in zip(vgglua.parameters()[0], vgg.parameters()): TypeError: 'NoneType' object is not callable

Hello, have you solved it?

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

从QQ邮箱发来的超大附件

vgg16.weight (527.79M, 2022年04月21日 23:25 到期)进入下载页面:http://mail.qq.com/cgi-bin/ftnExs_download?t=exs_ftn_download&k=27636336162e36ed8a1df5621f63071d025100005d5757574b505a000d4e010a02564e575d54041f04050004585b50565e530155396f3544010452001714505b010b173604&code=fcc69c52

WeiBrown commented 2 years ago

wget http://cs.stanford.edu/people/jcjohns/fast-neural-style/models/vgg16.t7 -O try this

WeiBrown commented 2 years ago

Hello, I downloaded the vgg16.t7 manually, when I ran"load_lua(r"D:\Progarm Files\eclipse\preferences\UNIT\vgg16.t7")", I got this error message:"unknown type id 1056626884. The file may be corrupted." Why is this problem? I had downloaded it several times.

Thank you for your answer.

wget http://cs.stanford.edu/people/jcjohns/fast-neural-style/models/vgg16.t7 -O try this

EXGHLI commented 6 months ago

您好,我手動下載了vgg16.t7,當我執行“load_lua(r"D:\Progarm Files\eclipse\preferences\UNIT\vgg16.t7")”時,我收到此錯誤訊息:“未知類型id ” 1056626884。文件可能已損壞。”為什麼會出現這個問題呢?我已經下載過好幾次了。 謝謝您的回答。

wget http://cs.stanford.edu/people/jcjohns/fast-neural-style/models/vgg16.t7 -O 試試這個

This link seems to have expired. Is there any other way to obtain vgg16.t7?

wylblank commented 4 months ago

Hello, have you ever encountered this problem?

for (src, dst) in zip(vgglua.parameters()[0], vgg.parameters()): TypeError: 'NoneType' object is not callable

您好,我也遇到了相同的问题,请问您是怎么解决的? Hello, I also met the same problem, how did you solve it?

wylblank commented 4 months ago

Time has passed too long, I do not seem to be able to run this network, as if this line needs to delete a parameter; ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年3月16日(星期三) 下午3:39 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [mingyuliutw/UNIT] a question about vgg16.t7 (#81) Hello, have you ever encountered this problem? for (src, dst) in zip(vgglua.parameters()[0], vgg.parameters()): TypeError: 'NoneType' object is not callable Hello, have you solved it? — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

您好,或者,您可以发一下您utils.py里的第224-241行的load_vgg16()函数部分吗?我和原程序对比一下,按照您的改一下试试。谢谢 Hello, or, could you please send the load_vgg16() function section on lines 224-241 of your utils.py? Let me compare it with the original program and try to change it according to your instructions. thank you.

wylblank commented 4 months ago

Hello, have you ever encountered this problem? for (src, dst) in zip(vgglua.parameters()[0], vgg.parameters()): TypeError: 'NoneType' object is not callable

Hello, have you solved it?

您好,我正在做MUNIT也遇到了相同的问题, for (src, dst) in zip(vgglua.parameters()[0], vgg.parameters()): TypeError: 'NoneType' object is not callable,请问您是怎么解决的?可以告诉我吗?谢谢 Hello, I also encountered the same problem when I was doing MUNIT, for (src, dst) in zip(vgglua.parameters()[0], vgg.parameters()): TypeError: 'NoneType' object is not callable, how did you solve it? Can you tell me? thank you.