Skip to content

hist_dict = dict((key, self.hist.history[key]) for key in self.hist_keys) KeyError: 'ssim' #91

@LinirZamir

Description

@LinirZamir

Hi,

I am running a simple test for training, I have all the prerequisites installed and I am training on the default MVTec dataset with the project organized as mentioned in the readme.
This is the line of code I run to train:
python train.py -d mvtec/capsule -a mvtecCAE -b 8 -l ssim -c grayscale

It starts nicely with 10 rounds of epochs, followed by (unknowingly why) a round of 1024 epochs, where it specify a max learning rate of 0.002. At around the 30th epochs of the second round, I get the following error and the program stops:

hist_dict = dict((key, self.hist.history[key]) for key in self.hist_keys) KeyError: 'ssim'

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