You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After fitting a model, calling loss_values returns a DataFrame object where the loss values are PyTorch tensor objects instead of just simple float values.
This means that plotting these values requires an extra step of extracting the values using apply(), which adds unnecessary friction I feel.
Expected behavior
Ideally the returned DataFrame just had float values for Generator & Discriminator loss values. This lowers the friction for plotting the loss values:
Duplicate of sdv-dev/SDV#1811, close both at same time.
Problem Description
After fitting a model, calling
loss_values
returns a DataFrame object where the loss values are PyTorch tensor objects instead of just simple float values.This means that plotting these values requires an extra step of extracting the values using
apply()
, which adds unnecessary friction I feel.Expected behavior
Ideally the returned DataFrame just had float values for Generator & Discriminator loss values. This lowers the friction for plotting the loss values:
Additional context
Relevant code is here:
https://github.com/sdv-dev/CTGAN/blob/main/ctgan/synthesizers/ctgan.py#L426
The text was updated successfully, but these errors were encountered: