I find your approach very exciting and wanted to try out your code.
As a basis I use Anaoconda on a Win 10 PC.
After the installation I had some trouble (not recognized _anomaly_kernel_cython.c )which could be solved by compiling the cpython module (see here).
please use the following command to compile the cpython module.
python setup.py build_ext --inplace
Originally posted by @guinao in #19 (comment)
When trying to run the main.py script, the following error message appears
File "main.py", line 17, in <module> detect_anomaly(sample, THRESHOLD, MAG_WINDOW, SCORE_WINDOW, 99, DetectMode.anomaly_only) File "main.py", line 9, in detect_anomaly sensitivity=sensitivity, detect_mode=detect_mode) TypeError: __init__() missing 1 required positional argument: 'batch_size'
Can anyone give me a hint what value the variable batch_size should have?
Many thanks in advance
I find your approach very exciting and wanted to try out your code.
As a basis I use Anaoconda on a Win 10 PC.
After the installation I had some trouble (not recognized
_anomaly_kernel_cython.c)which could be solved by compiling the cpython module (see here).When trying to run the
main.pyscript, the following error message appearsFile "main.py", line 17, in <module> detect_anomaly(sample, THRESHOLD, MAG_WINDOW, SCORE_WINDOW, 99, DetectMode.anomaly_only) File "main.py", line 9, in detect_anomaly sensitivity=sensitivity, detect_mode=detect_mode) TypeError: __init__() missing 1 required positional argument: 'batch_size'Can anyone give me a hint what value the variable
batch_sizeshould have?Many thanks in advance