feat(ml): add lambda#661
Open
wr0124 wants to merge 7 commits into
Open
Conversation
beniz
reviewed
Jun 20, 2024
| visual_names_B = ["real_B"] | ||
| self.visual_names.append(visual_names_A) | ||
| self.visual_names.append(visual_names_B) | ||
| self.variable1 = 0.6 |
beniz
reviewed
Jun 20, 2024
|
|
||
| # Save the config file when --save_config is passed | ||
| is_config_saved = False | ||
| is_config_saved = True # False |
Collaborator
Author
There was a problem hiding this comment.
If i don not set this into True, I can not have train_config.json file, then, can not do the inference. I'll see if there has other ways
Collaborator
Author
There was a problem hiding this comment.
There has no config_save option description in the joliGEN.
Collaborator
Author
|
I think I do not fully get your idea to "add lambda_gan to self and then to visual_names for it to be plotted." I thought lambda_gan should appear in a separate Visdom window? P.S.: This modification does not display the lambda, and I do not get why use detach here. since in the loss.py , the fake image tensor has already get detached for calculation. |
royale
approved these changes
Jul 26, 2024
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.
add function lambda into cm_gan_model
The training works with the following command line
The inference works with the following command line