This is the implementation of Online Task-Free Continual Generative and Discriminative Learning via Dynamic Cluster Memory - DCM/GraphMemory_JS_FFHQ256.py at main · dtuzi123/DCM
This is the implementation of Online Task-Free Continual Generative and Discriminative Learning via Dynamic Cluster Memory - DCM/GraphMemory_WDistance_FFHQ256.py at main · dtuzi123/DCM
( sample_file, input_height=256, input_width=256, resize_height=128, resize_width=128, crop=False) for sample_file in path] batch = np.array(batch) batch = batch.transpose(0, 3, 1, 2) batch = torch.tensor(batch).cuda().to(device=device, dtype=torch.float) return batch def ...