jonasricker / diffusion-model-deepfake-detection

[VISAPP2024] Towards the Detection of Diffusion Model Deepfakes
https://arxiv.org/abs/2210.14571
MIT License
82 stars 10 forks source link

fix a problem "ModuleNotFoundError: No module named 'seaborn._oldcore'" #7

Closed keao23 closed 6 months ago

keao23 commented 6 months ago

seaborn._oldcore is unavailable anymore, so it reports the above error. I suggest changing the code of line 107-108 in the file " src/paper_utils.py" to "dashes = ["-"]*len(sns.color_palette("deep"))".

jonasricker commented 6 months ago

Thanks for bringing this up, apparently the function is still available and can be accessed from seaborn._base.