No module named 'ipg_kit'
when i try the project IPG with this code:python exec.py --opt options/train_IPG_SR_x2.yml --eval_opt options/test_IPG_BasicSR_x2.yml --scale 2
Actually, ipg_kit refers to the script ipg_kit.py The command must be run at the folder "IPG" (i.e. ipg_kit.py must be in the root directory) in order to let the code run. Let me know if you have further questions. Thanks!
when i try the project IPG with this code:python exec.py --opt options/train_IPG_SR_x2.yml --eval_opt options/test_IPG_BasicSR_x2.yml --scale 2
I'm also having this problem, the key to the problem is the way of installation, replace “python setup.py install” or “python install .” instead of “pip install -e .” This will solve the problem.
Actually, ipg_kit refers to the script ipg_kit.py The command must be run at the folder "IPG" (i.e. ipg_kit.py must be in the root directory) in order to let the code run. Let me know if you have further questions. Thanks!
Hello, I ran the command pip install wheel==0.26 and then used pip install -r requirements.txt followed by python setup.py install. And I entered the version information as "1.1.1.".After that, I executed the command python exec.py --opt options/train_IPG_SR_x2.yml --eval_opt options/test_IPG_BasicSR_x2.yml --scale 2 in the "IPG" folder, but I'm still encountering the error: "No module named 'ipg_kit'." Could you please provide a solution? Thank you very much!
Actually, ipg_kit refers to the script ipg_kit.py The command must be run at the folder "IPG" (i.e. ipg_kit.py must be in the root directory) in order to let the code run. Let me know if you have further questions. Thanks!
Hello, I ran the command pip install wheel==0.26 and then used pip install -r requirements.txt followed by python setup.py install. And I entered the version information as "1.1.1.".After that, I executed the command python exec.py --opt options/train_IPG_SR_x2.yml --eval_opt options/test_IPG_BasicSR_x2.yml --scale 2 in the "IPG" folder, but I'm still encountering the error: "No module named 'ipg_kit'." Could you please provide a solution? Thank you very much!
YES. I meet a same problem,which bothers me……
@ACynj @lightdust02 I also encountered this problem and eventually solved it by using "pip install -e ." instead of "python setup. py install". If it is already installed, uninstall BasicSR first. The '- e' parameter represents' editable ', which means that you are installing an editable package. I seem to have encountered the issue of wheels before. Wheel==0.26 doesn't seem necessary, just "pip install wheel" is also acceptable.
@gitlonglong Thank you.Previous problem has been sloved.But i meet a new problem that "cant't find the path '../SRdata/BasicSR_SR_test/Set5/LRbicx2'".I have these files.I want to ask if i should prepare the datasets brefore i enter the 'pip install -e .' or not.
You need to put this folder in the same folder as IPG. such as: IPG: home/your_workspace/IPG SRdata: home/your_workspace/SRdata That's because,in the train.yaml dataset was "../SRdata/……"
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年10月22日(星期二) 晚上7:06 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [huawei-noah/Efficient-Computing] No module named 'ipg_kit' (Issue #148)
@gitlonglong Thank you.Previous problem has been sloved.But i meet a new problem that "cant't find the path '../SRdata/BasicSR_SR_test/Set5/LRbicx2'".I have these files.I want to ask if i should prepare the datasets brefore i enter the 'pip install -e .' or not.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
The file structure of urban100 is not correct. Can you help me solve it?
That's a tricky question. I have searched many times for similar issues in search engines,but I can't find the satisfied answer. The only thing that I know is that it seems like we need to use gtmod12 and LRbicx2 to resample Urban100,but I can't find the codes of gtmod12 and LRbicx2. It's a pity.
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年10月24日(星期四) 下午2:28 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [huawei-noah/Efficient-Computing] No module named 'ipg_kit' (Issue #148)
The file structure of urban100 is not correct. Can you help me solve it?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
That's a tricky question. I have searched many times for similar issues in search engines,but I can't find the satisfied answer. The only thing that I know is that it seems like we need to use gtmod12 and LRbicx2 to resample Urban100,but I can't find the codes of gtmod12 and LRbicx2. It's a pity. … ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年10月24日(星期四) 下午2:28 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [huawei-noah/Efficient-Computing] No module named 'ipg_kit' (Issue #148) The file structure of urban100 is not correct. Can you help me solve it? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
I will look again to see if there is any relevant information. Thank you for your reply. I wish you a happy life.
As for the test dataset: previously I downloaded them from somewhere but they are protected within internal devices. I have provided a way to replicate the testsets based on the official BasicSR Matlab codes: https://github.com/huawei-noah/Efficient-Computing/issues/144
Since many people are asking about datasets, it occurs to me that this is a series problem. I will try to upload an official version of testsets for the ease of replication, but unfortunately the original datasets are in the internal devices and are thus unavailable at my hand. I think I will complete the internal safety check processes in the upcoming weeks, and thank you all for your patience!
OMG! Thank you for your reply
------------------ 原始邮件 ------------------ 发件人: "Yuchuan @.>; 发送时间: 2024年10月24日(星期四) 下午2:52 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [huawei-noah/Efficient-Computing] No module named 'ipg_kit' (Issue #148)
As for the test dataset: previously I downloaded them from somewhere but they are protected within internal devices. I have provided a way to replicate the testsets based on the official BasicSR Matlab codes: #144
Since many people are asking about datasets, it occurs to me that this is a series problem. I will try to upload an official version of testsets for the ease of replication, but unfortunately the original datasets are in the internal devices and are thus unavailable at my hand. I think I will complete the internal safety check processes in the upcoming weeks, and thank you all for your patience!
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
I also have a tedious solution to "no module named ipg_kit" (But it always works!!!) Copy everything in ipg_kit.py to LowLevel/IPG/basicsr/archs/IPG_arch.py, and remove the dependency of IPG_arch.py on ipg_kit. I believe this solution makes things a lot EASIER!!!😊
It never occurred to me that dependency could cause so much problem here (cause the code is running smoothly on my internal device... I have no idea what's going on...) My sincere apology.
Hi, the preprocessed test dataset could be downloaded from this link: https://huggingface.co/datasets/yuchuantian/BasicSR_SR_test Thank you all for your helpful discussion!