-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No module named 'ipg_kit' #148
Comments
Actually, ipg_kit refers to the script ipg_kit.py |
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. |
Hello, |
YES. I meet a same problem,which bothers me…… |
@ACynj @lightdust02 |
@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: ***@***.***>
|
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: #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 |
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
The text was updated successfully, but these errors were encountered: