HanxunH / Unlearnable-Examples

[ICLR2021] Unlearnable Examples: Making Personal Data Unexploitable
https://hanxunh.github.io/Unlearnable-Examples/
MIT License
151 stars 17 forks source link

About visualizing the results according to log file #21

Open Bomingmiao opened 11 months ago

Bomingmiao commented 11 months ago

Hi Huang, I want to ask about how to extract the training acc_avg and eval_avg of the log file and drow the line plot. I would really appreciate it if you could provide me with the code.

HanxunH commented 10 months ago

Hi,

You can consider using the dictionary saved with the model.

https://github.com/HanxunH/Unlearnable-Examples/blob/28e1e417259ce5baf0d3e68d3408d9f8ecc3024f/main.py#L84

https://github.com/HanxunH/Unlearnable-Examples/blob/28e1e417259ce5baf0d3e68d3408d9f8ecc3024f/main.py#L94

https://github.com/HanxunH/Unlearnable-Examples/blob/28e1e417259ce5baf0d3e68d3408d9f8ecc3024f/main.py#L120