gan-police / frequency-forensics

Deepfake detection using wavelet-packets in PyTorch, European Conference on Machine Learning (ECML PKDD) 2022.
Other
47 stars 9 forks source link

Log directory not created automatically #16

Closed RaoulHeese closed 2 years ago

RaoulHeese commented 2 years ago

When training models, the resulting model file is stored in ./log/, which may not exist: https://github.com/gan-police/frequency-forensics/blob/dad3cc17d824537788fdf68cb517bed3d7f2ae6a/src/freqdect/train_classifier.py#L264-L272 Folder should be created on demand, if not existent.

v0lta commented 2 years ago

https://github.com/gan-police/frequency-forensics/blob/11eec799e68e3fd96a2d5fec603e0ff73b6a3948/src/freqdect/train_classifier.py#L382 takes care of this issue.