made algos and metrics compatible with eval_model.py files#11
Closed
mkeeler43 wants to merge 1 commit intobaseline_modelsfrom
Closed
made algos and metrics compatible with eval_model.py files#11mkeeler43 wants to merge 1 commit intobaseline_modelsfrom
mkeeler43 wants to merge 1 commit intobaseline_modelsfrom
Conversation
ffelten
requested changes
Mar 27, 2025
Collaborator
|
@njhoffman11 you might want to see this since it targets your branch |
ffelten
requested changes
Apr 1, 2025
engiopt/test_cgan_cnn_2d.ipynb
Outdated
Contributor
Author
There was a problem hiding this comment.
I thought it would be nice but I guess its not necessary
ffelten
reviewed
Apr 1, 2025
ffelten
requested changes
Apr 3, 2025
Collaborator
ffelten
left a comment
There was a problem hiding this comment.
Very minor changes, good one Mister
.DS_Store
Outdated
| selected_indices: The indices of the sampled conditions and designs. | ||
| """ | ||
| ### Set up testing conditions ### | ||
| np.random.seed(seed) |
| for i, designs in enumerate(dataloader): | ||
| for i, data in enumerate(dataloader): | ||
| designs = data[0] | ||
| print(designs.shape) |
| """Compute the Maximum Mean Discrepancy (MMD) between two sets of samples. | ||
|
|
||
| Args: | ||
| x (np.ndarray): Array of shape (n, l, w) for generative model designs. |
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.
Changes to 2D algorithms (CGANs and GANs) to be compatible with all 2D problems and eval metrics.
Eval metrics can be run in respective evaluate_model.py files.