Skip to content

Problem while training #3

Description

@apfelbaumx

Hey there,
i´ve stumbled across ur project and wanted to recreated it. i am somewhat of a nooby, so i´ve run into a problem while trying to train the model.

here is the error:
Traceback (most recent call last):
File "train_model.py", line 273, in
history = train_model(pixor, optimizer, scheduler, data_loader, n_epochs=n_epochs)
File "train_model.py", line 163, in train_model
moving_loss = {'train': metrics['train_loss'][-1], 'val': metrics['val_loss'][-1]}
IndexError: list index out of range

from my understanding it fails while trying to access the prior element in the dictionary.

i would be glad if u could help me out. thanks in advance!
take care

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions