**Feat: Integrate Loss Graphs into Gradio Interface**#2241
Open
Wernervanrun wants to merge 5 commits intoRVC-Project:mainfrom
Open
**Feat: Integrate Loss Graphs into Gradio Interface**#2241Wernervanrun wants to merge 5 commits intoRVC-Project:mainfrom
Wernervanrun wants to merge 5 commits intoRVC-Project:mainfrom
Conversation
**Body:** * Implements helper functions to retrieve and display loss graphs for different projects. * Integrates with Gradio to provide interactive tabs with loss graph images. * Handles project selection and updates loss graphs accordingly. * Includes helper functions for generating and saving loss graphs from TensorBoard logs
- Updated `extract_scalar_data` to handle NaN values in TensorBoard logs. - If a scalar value is NaN, the method now falls back to the previous valid value. - If no previous value is available, a default of 0.0 is used. - This ensures continuity and robustness in the extracted scalar data.
…ault project name, also moved default_project_name logic into the get_projects function.
|
I cannot start the gradio because the path is None and the error appears. I've tried to expend your List comprehension from projects = [name for name in os.listdir(index_root) if os.path.isdir(os.path.join(index_root, name)) and name != 'mute' and os.path.isdir(os.path.join(index_root, name, 'loss_graphs'))]to projects = []
for name in os.listdir(index_root):
if os.path.isdir(os.path.join(index_root, name)) and name != 'mute':
workdir = os.path.join(index_root, name, 'loss_graphs')
if not os.path.isdir(workdir):
os.mkdir(workdir)
projects.append(name)in Line 823 of infer-web.py, and solve it. |
Author
|
Author
This has nothing to do with this pull request. That said, outside_index_root should be set here: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/.env |
Author
I do not think this is needed, if there is nothing there it will be an empty list. |
|
It can start, thank you. QWQ |
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.





Pull Request Checklist
PR Type
Description
This pull request introduces a new feature to enhance the Gradio interface by adding the ability to visualize loss graphs:
Screenshot