Closed asaflevi1983 closed 5 years ago
We used 7 cycles of operational sound for training. Therefore, even if the cycle of the python argument is kept at the default value of 7, the source code works. If the data of your experiment is different, please adjust the argument as following.
You can choice one of above options.
:)
I tried to run it again from scratch on Linux server first I ran the MFCC preprocessing task and got the following output:
after that, I ran the run.py script and I got the following error:
(vpy36) Administrator:~/environment/FARED_for_Anomaly_Detection (master) $ python3 FARED_source/run.py
Developed by...
| | | _| \ \ | | | | | | | | \ \ | | / | ()| | | | | | / | ()| | |/__|__/||____| ||//__|_/|| ()
** Prepare the Dataset
Traceback (most recent call last):
File "FARED_source/run.py", line 37, in
We provided one sample for each class. To do the same experiment as ours, there should be at least 8 data for each class (assembly procedure). For example, AT2-IN88-SINK should be more than 8 data (7 for training, 1 for test).
Please try your experiment after setting for your environment and data.
:)
thanks for your response, now it works
I am getting an error in the following line: self.sublist_train["%s" %(ktot)] = self.sublist_total["%s" %(ktot)][:cycle]
self.key_tot is equal to [Set-A,Set-B]
cycle is 7