You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am very impressed by your work, and am trying to start my anomaly detection research based off of your work.
The first thing I am trying to do is to reproduce the results for the SWaT dataset given in Table 2.
I followed the exact step that you provided in scripts/readme.md for SWaT preprocessing and error occurred:
Traceback (most recent call last):
File "e:\backup\GDN-main\scripts\process_swat.py", line 101, in
main()
File "e:\backup\GDN-main\scripts\process_swat.py", line 78, in main
d_test_x, d_test_labels = downsample(test.values, test_labels, 10)
File "e:\backup\GDN-main\scripts\process_swat.py", line 32, in downsample
d_labels = np.round(np.max(d_labels, axis=1))
File "<array_function internals>", line 5, in amax
File "E:\anaconda3\lib\site-packages\numpy\core\fromnumeric.py", line 2667, in amax
return _wrapreduction(a, np.maximum, 'max', axis, None, out,
File "E:\anaconda3\lib\site-packages\numpy\core\fromnumeric.py", line 90, in _wrapreduction
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
TypeError: '>=' not supported between instances of 'str' and 'int'
Thank you very much.
The text was updated successfully, but these errors were encountered:
Hello,
I am very impressed by your work, and am trying to start my anomaly detection research based off of your work.
The first thing I am trying to do is to reproduce the results for the SWaT dataset given in Table 2.
I followed the exact step that you provided in scripts/readme.md for SWaT preprocessing and error occurred:
Traceback (most recent call last):
File "e:\backup\GDN-main\scripts\process_swat.py", line 101, in
main()
File "e:\backup\GDN-main\scripts\process_swat.py", line 78, in main
d_test_x, d_test_labels = downsample(test.values, test_labels, 10)
File "e:\backup\GDN-main\scripts\process_swat.py", line 32, in downsample
d_labels = np.round(np.max(d_labels, axis=1))
File "<array_function internals>", line 5, in amax
File "E:\anaconda3\lib\site-packages\numpy\core\fromnumeric.py", line 2667, in amax
return _wrapreduction(a, np.maximum, 'max', axis, None, out,
File "E:\anaconda3\lib\site-packages\numpy\core\fromnumeric.py", line 90, in _wrapreduction
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
TypeError: '>=' not supported between instances of 'str' and 'int'
Thank you very much.
The text was updated successfully, but these errors were encountered: