Skip to content

trVAE error in self.cvae_model.evaluate #10

@LuckyMD

Description

@LuckyMD

Hey @Naghipourfar @M0hammadL ,

I'm running trVAE as part of our benchmarking (PR here), and I'm getting the following error:

|Traceback (most recent call last):
  File "scripts/runIntegration.py", line 69, in <module>
    runIntegration(file, out, run, hvg, batch)
  File "scripts/runIntegration.py", line 30, in runIntegration
    integrated = method(adata, batch)
  File "/mnt/home/icb/malte.luecken/benchmarking_data_integration/Benchmarking_data_integration/scIB/integration.py", line 70, in runTrVae
    save=False,
  File "/home/icb/daniel.strobl/miniconda3/envs/benchmarking_data_integration_dev/lib/python3.7/site-packages/trvae/models/_trvae.py", line 830, in train
    verbose)
  File "/home/icb/daniel.strobl/miniconda3/envs/benchmarking_data_integration_dev/lib/python3.7/site-packages/trvae/models/_trvae.py", line 771, in _train_on_batch
    valid_loss, valid_recon_loss, valid_mmd_loss = self.cvae_model.evaluate(x_valid, y_valid, verbose=0)
ValueError: not enough values to unpack (expected 3, got 0)|

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions