ssnl / dataset-distillation

Open-source code for paper "Dataset Distillation"
https://ssnl.github.io/dataset_distillation
MIT License
778 stars 115 forks source link

Question about the updata of the synthetic data #60

Closed Ke-Hao closed 1 year ago

Ke-Hao commented 1 year ago

Hi, I found these codes confusing : codes why the outputs is 'gw' , and the synthetic data is updated in the accumulate_grad() , why there is a optimizer.step() in the function train()?

ssnl commented 1 year ago
Ke-Hao commented 1 year ago

Got it! Thanks for your reply!!