Skip to content
This repository was archived by the owner on May 5, 2026. It is now read-only.

TypeError: must be real number, not str #31

@Nimish9

Description

@Nimish9

Traceback (most recent call last):
File "experiment.py", line 258, in
print('%d\t%.2f\t%.4f\t%.4f\t%.5f\t%.0f\t %s\t %s' % (epoch, t, D_loss_curr, G_loss_curr, mmd2, that_np, pdf_sample, pdf_real))
TypeError: must be real number, not str

I am getting this error while running experiment.py on my data with "num_samples": 869,
"seq_length": 300,
"num_signals": 9.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions