yulunzhang / RDN

Torch code for our CVPR 2018 paper "Residual Dense Network for Image Super-Resolution" (Spotlight)
543 stars 108 forks source link

.lua file #26

Open prathapsoma opened 1 year ago

prathapsoma commented 1 year ago

When I am working on '.lua' code to convert from png to t7 format it is showing error. the error is

Error -> [string "png_to_t7.lua"]:1: module 'image' not found: no field package.preload['image'] no file 'C:\Program Files\WindowsApps\61954lingguang.LuaScriptTest_2.0.0.0_x645b5h4n7n89bzm\lua\image.lua' no file 'C:\Program Files\WindowsApps\61954lingguang.LuaScriptTest_2.0.0.0_x645b5h4n7n89bzm\lua\image\init.lua' no file 'C:\Program Files\WindowsApps\61954lingguang.LuaScriptTest_2.0.0.0_x645b5h4n7n89bzm\image.lua' no file 'C:\Program Files\WindowsApps\61954lingguang.LuaScriptTest_2.0.0.0_x645b5h4n7n89bzm\image\init.lua' no file 'C:\Program Files\WindowsApps\61954lingguang.LuaScriptTest_2.0.0.0_x645b5h4n7n89bzm..\share\lua\5.3\image.lua' no file 'C:\Program Files\WindowsApps\61954lingguang.LuaScriptTest_2.0.0.0_x645b5h4n7n89bzm..\share\lua\5.3\image\init.lua' no file '.\image.lua' no file '.\image\init.lua'

I changed the path of DIV2K folder. still same error appears can any one suggest me what mistake i made.#

the code file attached below for your reference.

Thank you in advance.

fantasy-zc commented 1 year ago

hello,there is the same error on me.... do you solve it?

neverwinHao commented 1 month ago

hello,there is the same error on me.... do you solve it? there is the same error on me too do you solve it?

fantasy-zc commented 1 month ago

你好,我也有同样的错误......你解决了吗?我身上也有同样的错误,你解决了吗?

oh no , i don't understand this problem , so i just went looking for other versions

neverwinHao commented 1 month ago

你好,我也有同样的错误......你解决了吗?我身上也有同样的错误,你解决了吗?

oh no , i don't understand this problem , so i just went looking for other versions

Thank you for your reply ! Good Luck!

fantasy-zc commented 1 month ago

你好,我也有同样的错误......你解决了吗?我身上也有同样的错误,你解决了吗?

oh no , i don't understand this problem , so i just went looking for other versions

Thank you for your reply ! Good Luck! my pleasure !

neverwinHao commented 1 month ago

你好,我也有同样的错误......你解决了吗?我身上也有同样的错误,你解决了吗?

oh no , i don't understand this problem , so i just went looking for other versions

Thank you for your reply ! Good Luck! my pleasure !

Hello ! I get a method in Windows to solove it. But i failed in my Windows. I think it may help you too. Here is the answer < You probably don't have Torch installed. https://stackoverflow.com/questions/48277220/get-lua-running-with-torch-on-windows-10-with-limited-admin-rights>! Best Wishes!

fantasy-zc commented 1 month ago

你好,我也有同样的错误......你解决了吗?我身上也有同样的错误,你解决了吗?

oh no , i don't understand this problem , so i just went looking for other versions

Thank you for your reply ! Good Luck! my pleasure !

Hello ! I get a method in Windows to solove it. But i failed in my Windows. I think it may help you too. Here is the answer < You probably don't have Torch installed. https://stackoverflow.com/questions/48277220/get-lua-running-with-torch-on-windows-10-with-limited-admin-rights>! Best Wishes!

ok ok , thank you ! i will try it