danielenricocahall / One-Class-NeuralNetwork

Simplified implementation of one class neural network for nonlinear anomaly detection.
MIT License
46 stars 4 forks source link

When I ran the driver.py, I encountered some errors #8

Open DeepSpace98 opened 2 years ago

DeepSpace98 commented 2 years ago

Dear Mr.Danial, Thanks for sharing your code.

I meet the following errors when running driver.py:

File "D:\One-Class-NeuralNetwork-master\ocnn.py", line 94, in train_model modeldir = f"models/ocnn{datetime.now().strftime('%Y-%m-%d-%H:%M:%s')}" ValueError: Invalid format string

DeepSpace98 commented 2 years ago

it seemed the file name can't have ' : ' ,change the ' : ' to others,it run successfully.

danielenricocahall commented 2 years ago

Ah that's good to know - I can amend that to be compatible with all file systems. Thank you!