NVlabs / DiffPure

A new adversarial purification method that uses the forward and reverse processes of diffusion models to remove adversarial perturbations.
Other
267 stars 33 forks source link

Can I use ImageNet dataset directly without converting them to LMDB format? #21

Closed mijinkoo closed 1 year ago

mijinkoo commented 1 year ago

Hi, thanks for sharing your code!

Is there a way to use ImageNet datasets directly without converting them to LMDB format? If you have the code, could you provide it?

mijinkoo commented 1 year ago

I solved it Thank you!

keenlooks commented 1 year ago

Could you describe how you solved this issue please? I tried to use the current code's LMDB format conversion but the base classifier gets 0% accuracy on it.