CAT-Net icon indicating copy to clipboard operation
CAT-Net copied to clipboard

Smallest Dataset size

Open Vadim2S opened this issue 3 years ago • 1 comments

I am try train on small (400 images) CASIA dataset for debug purpose.
I am get assert error: "assert 0 <= index < len(self.tamp_list), f"Index {index} is not available!"" In data_core.py I am found "self.smallest = 1869 # smallest dataset size (IMD:1869)" and presume my dataet is too small. I am wonder why smallest dataset size is exactly 1869?

Vadim2S avatar Nov 18 '21 11:11 Vadim2S

You should modify self.smallest to the smallest dataset size. In your case, set it as 400. The number 1869 is the size of IMD dataset.

CauchyComplete avatar Nov 18 '21 17:11 CauchyComplete