Fixing missing Dashes (-) in commands#2
Open
EmirMontazeri wants to merge 1 commit into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the root README.md to correct example CLI commands for testing/training Multinex and Multinex-Nano by adjusting option/weight filenames (intended to fix missing dashes in paths).
Changes:
- Updated Multinex test command weight filenames to include
LOL-v*naming. - Updated Multinex-Nano test and training command option/weight filenames to a dashed
LOL-v*style. - Updated the self-ensemble example command to match the revised Multinex LOL-v1 weight name.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
156
to
+160
| # LOL-v2-real | ||
| python Enhancement/test.py --opt Options/Multinex_LOL-v2-real.yaml --weights pretrained_weights/Multinex_LOLv2_real.pth --dataset LOL_v2_real | ||
| python Enhancement/test.py --opt Options/Multinex_LOL-v2-real.yaml --weights pretrained_weights/Multinex_LOL-v2_real.pth --dataset LOL_v2_real | ||
|
|
||
| # LOL-v2-synthetic | ||
| python Enhancement/test.py --opt Options/Multinex_LOL-v2-syn.yaml --weights pretrained_weights/Multinex_LOLv2_syn.pth --dataset LOL_v2_synthetic | ||
| python Enhancement/test.py --opt Options/Multinex_LOL-v2-syn.yaml --weights pretrained_weights/Multinex_LOL-v2_syn.pth --dataset LOL_v2_synthetic |
| ```bash | ||
| # LOL-v1 | ||
| python Enhancement/test.py --opt Options/MultinexNano_LOLv1.yaml --weights pretrained_weights/MultinexNano_LOLv1.pth --dataset LOL_v1 | ||
| python Enhancement/test.py --opt Options/MultinexNano_LOL-v1.yaml --weights pretrained_weights/MultinexNano_LOL-v1.pth --dataset LOL_v1 |
Comment on lines
169
to
+170
| # LOL-v2-real | ||
| python Enhancement/test.py --opt Options/MultinexNano_LOL-v2-real.yaml --weights pretrained_weights/MultinexNano_LOLv2_real.pth --dataset LOL_v2_real | ||
| python Enhancement/test.py --opt Options/MultinexNano_LOL-v2-real.yaml --weights pretrained_weights/MultinexNano_LOL-v2_real.pth --dataset LOL_v2_real |
Comment on lines
172
to
+173
| # LOL-v2-synthetic | ||
| python Enhancement/test.py --opt Options/MultinexNano_LOL-v2-synthetic.yaml --weights pretrained_weights/MultinexNano_LOLv2_syn.pth --dataset LOL_v2_synthetic | ||
| python Enhancement/test.py --opt Options/MultinexNano_LOL-v2-synthetic.yaml --weights pretrained_weights/MultinexNano_LOL-v2_syn.pth --dataset LOL_v2_synthetic |
|
|
||
| # Multinex-Nano on LOL-v1 | ||
| python -m basicsr.train --opt Options/MultinexNano_LOLv1.yaml | ||
| python -m basicsr.train --opt Options/MultinexNano_LOL-v1.yaml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello everyone and Alexandru!
When testing the code using the provided Readme.md command for Self-ensemble testing strategy I got an error:
Command:
python Enhancement/test.py --opt Options/Multinex_LOL-v1.yaml --weights pretrained_weights/Multinex_LOL-v1.pth --dataset LOL_v1 --self_ensembleError:
FileNotFoundError: [Errno 2] No such file or directory: 'pretrained_weights/Multinex_LOLv1.pth'I updated all of missing dashes and tested the command with successful results.
Also, great job on implementing a Low-light enhancement model using torch 2.x.