I'm working on fine-tuning arguments and would like to see only the optimizer progress bar, sadly Discoart doesn't support totally silent mode. This RM suggests the implementation of this feature.
Here's a piece of code that does allow you to achieve it with PR changes:
/opt/conda/lib/python3.7/site-packages/torchvision/models/_utils.py:209: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and will be removed in 0.15, please use 'weights' instead.
f"The parameter '{pretrained_param}' is deprecated since 0.13 and will be removed in 0.15, "
/opt/conda/lib/python3.7/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and will be removed in 0.15. The current behavior is equivalent to passing `weights=VGG16_Weights.IMAGENET1K_V1`. You can also use `weights=VGG16_Weights.DEFAULT` to get the most up-to-date weights.
warnings.warn(msg)
Finally, use the following arguments:
from discoart import create
da = create(image_output=False, save_rate=-1)
This code prevents saving intermediate images and a final document.
I'm working on fine-tuning arguments and would like to see only the optimizer progress bar, sadly Discoart doesn't support totally silent mode. This RM suggests the implementation of this feature.
Here's a piece of code that does allow you to achieve it with PR changes:
The following code hides the issue with obsoleted torchvision parameters that are used in lpips
I mean these warnings:
Finally, use the following arguments:
This code prevents saving intermediate images and a final document.