Closed deshwalmahesh closed 2 years ago
Hi, ${SIDD_CKPT_PATH} is just s placeholder that should be replaced with your stored ckpt path. In your case --ckpt_path ckpt/adobe.npz
would work.
The other no module named maxim
error is caused by having not installed the project. We would like to apologize for the imcomplete instructions. The full Installation should be:
pip install -r requirements.txt
pip install .
After installed, you should be able to see results by running:
python3 maxim/run_eval.py --task Enhancement --ckpt_path ckpt/adobe.npz \
--input_dir maxim/images/Enhancement --output_dir maxim/images/Results --has_target=False
Let me know if this works for your case.
Hi, ${SIDD_CKPT_PATH} is just s placeholder that should be replaced with your stored ckpt path. In your case
--ckpt_path ckpt/adobe.npz
would work.The other
no module named maxim
error is caused by having not installed the project. We would like to apologize for the imcomplete instructions. The full Installation should be:pip install -r requirements.txt # Install requirements
pip install . # setup project (**what you missed**)
After installed, you should be able to see results by running:
python3 maxim/run_eval.py --task Enhancement --ckpt_path ckpt/adobe.npz \ --input_dir maxim/images/Enhancement --output_dir maxim/images/Results --has_target=False
Let me know if this works for your case.
Oh yes. thank you. I missed the install .
part. I checked later the source code and you have used absl
so I did build
first and then install
looking at the help
arg. Thank you for your help.
@vztu Do you have any plan on releasing the train
code too? Specially For RGB-RGB
images?
I think the Error is due to
$
in--ckpt_path
path. Can someone please give me an idea of where do I have to save the checkpoint file and run the command?Hi I downloaded the model checkpoints from the given link, rename and save it inside
ckpt/adobe.npz
. Now my directory looks like:I am inside parent maxim directory and when I run the command:
I get an error:
I tried changing the file location and every version of
--ckpt_path
like:Only good thing I got there was that when not using the
$
, it showed no module named maxim which is due to the relative import.Can you please help?