Generating-Representations-ZSL icon indicating copy to clipboard operation
Generating-Representations-ZSL copied to clipboard

The error when I set validation=True

Open Hanzy1996 opened this issue 6 years ago • 0 comments

Traceback (most recent call last): File "gmmn.py", line 534, in main() File "gmmn.py", line 529, in main model.train() File "gmmn.py", line 308, in train self.val() File "gmmn.py", line 339, in val features, attributes_temp, labels = self.generate_fake_image_val(self.unique_attributes_test_unseen, self.unique_labels_test_unseen, self.nb_fake_img) AttributeError: 'gmmn' object has no attribute 'unique_attributes_test_unseen'

The trainning is normal. The bug occurs when self.val run.How to debug this? Much appreciation.

Hanzy1996 avatar Nov 13 '18 04:11 Hanzy1996