Skip to content

Instantly share code, notes, and snippets.

@aht
Last active June 16, 2020 00:11
Show Gist options
  • Save aht/e80001d933f8e6aebcd546fd6c0985e2 to your computer and use it in GitHub Desktop.
Save aht/e80001d933f8e6aebcd546fd6c0985e2 to your computer and use it in GitHub Desktop.
shape issue
==================
training car_model = Impreza
==================
len(train_files) = 15272
len(val_files) = 2917
len(train_files) = 15272
len(val_files) = 2917
mkdir: Impreza: File exists
2020-06-15 17:10:06.090889: I tensorflow/core/profiler/lib/profiler_session.cc:159] Profiler session started.
FEATURES = ['CarSpeed', 'SteeringAngle', 'YawRate', 'Gx', 'Gy', 'CarSpeed_is_na', 'SteeringAngle_is_na', 'YawRate_is_na', 'Gx_is_na', 'Gy_is_na', 'TimeDiff']
n_actual_features = 11
Sample raw data from file s3://arimo-pana-cyber/data/sda1/IoT_CyberSecurity/autocyber_team_data/Impreza/injection/train/Attack/CarSpeed/Attack_SP1-I_Cycle_Add_back_02_005_1to1_C_05.csv
Timestamp Label CarSpeed SteeringAngle YawRate Gx Gy
1504 10775.011781 Tx 14.375 NaN NaN NaN NaN
1505 10775.011982 Rx NaN 42.9 NaN NaN NaN
1506 10775.017825 Rx NaN NaN NaN NaN -0.023
1507 10775.021962 Rx NaN 42.6 NaN NaN NaN
1508 10775.030357 Rx NaN NaN 2.240 NaN NaN
1509 10775.030828 Rx 10.000 NaN NaN NaN NaN
1510 10775.031066 Rx NaN NaN NaN 0.0469 NaN
1511 10775.031828 Tx 14.375 NaN NaN NaN NaN
1512 10775.031966 Rx NaN 42.2 NaN NaN NaN
1513 10775.037823 Rx NaN NaN NaN NaN -0.024
1514 10775.041973 Rx NaN 41.9 NaN NaN NaN
1515 10775.050390 Rx NaN NaN 2.205 NaN NaN
1516 10775.050857 Rx 10.000 NaN NaN NaN NaN
1517 10775.051099 Rx NaN NaN NaN 0.0469 NaN
1518 10775.051857 Tx 14.375 NaN NaN NaN NaN
1519 10775.051982 Rx NaN 41.5 NaN NaN NaN
1520 10775.057819 Rx NaN NaN NaN NaN -0.027
1521 10775.061984 Rx NaN 41.2 NaN NaN NaN
1522 10775.070435 Rx NaN NaN 2.170 NaN NaN
1523 10775.070905 Rx 10.000 NaN NaN NaN NaN
Sample transformed data
CarSpeed SteeringAngle YawRate Gx ... YawRate_is_na Gx_is_na Gy_is_na TimeDiff
1504 0.210623 0.000000 0.000000 0.000000 ... True True True -0.060345
1505 0.000000 0.086930 0.000000 0.000000 ... True True True -0.043017
1506 0.000000 0.000000 0.000000 0.000000 ... True True False 0.443362
1507 0.000000 0.086322 0.000000 0.000000 ... True True True 0.296293
1508 0.000000 0.000000 0.120794 0.000000 ... False True True 0.663362
1509 0.146520 0.000000 0.000000 0.000000 ... True True True -0.019741
1510 0.000000 0.000000 0.000000 0.045061 ... True False True -0.039828
1511 0.210623 0.000000 0.000000 0.000000 ... True True True 0.005345
1512 0.000000 0.085512 0.000000 0.000000 ... True True True -0.048448
1513 0.000000 0.000000 0.000000 0.000000 ... True True False 0.444569
1514 0.000000 0.084904 0.000000 0.000000 ... True True True 0.297414
1515 0.000000 0.000000 0.118906 0.000000 ... False True True 0.665259
1516 0.146520 0.000000 0.000000 0.000000 ... True True True -0.020086
1517 0.000000 0.000000 0.000000 0.045061 ... True False True -0.039483
1518 0.210623 0.000000 0.000000 0.000000 ... True True True 0.005000
1519 0.000000 0.084093 0.000000 0.000000 ... True True True -0.049569
1520 0.000000 0.000000 0.000000 0.000000 ... True True False 0.442845
1521 0.000000 0.083485 0.000000 0.000000 ... True True True 0.298707
1522 0.000000 0.000000 0.117019 0.000000 ... False True True 0.668190
1523 0.146520 0.000000 0.000000 0.000000 ... True True True -0.019828
[20 rows x 11 columns]
ds ret = <TensorSliceDataset shapes: ((128, 11), (128, 5)), types: (tf.float32, tf.float32)>
ds ret = <TensorSliceDataset shapes: ((128, 11), (128, 5)), types: (tf.float32, tf.float32)>
Epoch 1/2
[(128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (136, 11), (140, 11), (140, 11), (140, 11), (137, 11), (139, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11)]
2020-06-15 17:10:11.044251: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (136, 11), (140, 11), (140, 11), (140, 11), (137, 11), (139, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11)]
2020-06-15 17:10:11.538857: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (136, 11), (140, 11), (140, 11), (140, 11), (137, 11), (139, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11)]
2020-06-15 17:10:12.057975: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (136, 11), (140, 11), (140, 11), (140, 11), (137, 11), (139, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11)]
2020-06-15 17:10:12.580569: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (136, 11), (140, 11), (140, 11), (140, 11), (137, 11), (139, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11)]
2020-06-15 17:10:13.085898: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (136, 11), (140, 11), (140, 11), (140, 11), (137, 11), (139, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11)]
2020-06-15 17:10:13.566181: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (136, 11), (140, 11), (140, 11), (140, 11), (137, 11), (139, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11)]
2020-06-15 17:10:14.050607: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (136, 11), (140, 11), (140, 11), (140, 11), (137, 11), (139, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11)]
2020-06-15 17:10:14.536594: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (136, 11), (140, 11), (140, 11), (140, 11), (137, 11), (139, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11)]
2020-06-15 17:10:15.039986: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (136, 11), (140, 11), (140, 11), (140, 11), (137, 11), (139, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11)]
2020-06-15 17:10:15.986833: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (136, 11), (140, 11), (140, 11), (139, 11), (138, 11), (139, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11)]
2020-06-15 17:10:16.503653: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (136, 11), (140, 11), (140, 11), (139, 11), (138, 11), (139, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11)]
2020-06-15 17:10:16.982799: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (136, 11), (140, 11), (140, 11), (139, 11), (138, 11), (139, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11)]
2020-06-15 17:10:17.446240: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (136, 11), (140, 11), (140, 11), (139, 11), (138, 11), (139, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11)]
2020-06-15 17:10:17.962962: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (136, 11), (140, 11), (140, 11), (139, 11), (138, 11), (139, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11)]
2020-06-15 17:10:18.454563: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (136, 11), (140, 11), (140, 11), (139, 11), (138, 11), (139, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11)]
2020-06-15 17:10:18.956556: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (136, 11), (140, 11), (140, 11), (139, 11), (138, 11), (139, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11)]
2020-06-15 17:10:19.456386: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (136, 11), (140, 11), (140, 11), (139, 11), (138, 11), (139, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11)]
2020-06-15 17:10:19.967233: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (136, 11), (139, 11), (140, 11), (140, 11), (138, 11), (139, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11)]
2020-06-15 17:10:20.483722: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (136, 11), (139, 11), (140, 11), (140, 11), (138, 11), (139, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11)]
2020-06-15 17:10:20.980721: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (136, 11), (139, 11), (140, 11), (140, 11), (138, 11), (139, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11)]
2020-06-15 17:10:21.546466: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (136, 11), (139, 11), (140, 11), (140, 11), (138, 11), (139, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11)]
2020-06-15 17:10:22.035930: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (136, 11), (139, 11), (140, 11), (140, 11), (138, 11), (139, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11)]
2020-06-15 17:10:22.559423: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (136, 11), (139, 11), (140, 11), (140, 11), (138, 11), (139, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (140, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11), (128, 11)]
2020-06-15 17:10:23.031627: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
Error while training for car_model=Impreza
ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[[{{node PyFunc}}]]
[[IteratorGetNext]] [Op:__inference_train_function_21960]
Function call stack:
train_function
==================
training car_model = JaguarXF
==================
len(train_files) = 16861
len(val_files) = 3229
len(train_files) = 16861
len(val_files) = 3229
mkdir: JaguarXF: File exists
2020-06-15 17:10:32.290943: I tensorflow/core/profiler/lib/profiler_session.cc:159] Profiler session started.
FEATURES = ['CarSpeed', 'SteeringAngle', 'YawRate', 'Gx', 'Gy', 'CarSpeed_is_na', 'SteeringAngle_is_na', 'YawRate_is_na', 'Gx_is_na', 'Gy_is_na', 'TimeDiff']
n_actual_features = 11
Sample raw data from file s3://arimo-pana-cyber/data/sda1/IoT_CyberSecurity/autocyber_team_data/JaguarXF/injection/train/Attack/SteeringAngle/Attack_SSA-CH_Cycle_Add_back_02_050_1to1_B_01.csv
Timestamp Label CarSpeed SteeringAngle YawRate Gx Gy
2089 500.015261 Tx NaN 1.5 NaN NaN NaN
2090 500.018370 Rx NaN NaN NaN -0.01869 NaN
2091 500.018752 Rx NaN NaN 1.68826 NaN NaN
2092 500.018993 Rx NaN NaN NaN NaN -0.016376
2093 500.020280 Rx NaN 0.6 NaN NaN NaN
2094 500.025280 Tx NaN 2.5 NaN NaN NaN
2095 500.028058 Rx 0.9 NaN NaN NaN NaN
2096 500.028776 Rx NaN NaN 0.60684 NaN NaN
2097 500.029017 Rx NaN NaN NaN NaN -0.033396
2098 500.030256 Rx NaN 0.6 NaN NaN NaN
2099 500.034589 Rx NaN NaN NaN -0.00623 NaN
2100 500.035256 Tx NaN 3.4 NaN NaN NaN
2101 500.038737 Rx NaN NaN 0.00778 NaN NaN
2102 500.038973 Rx NaN NaN NaN NaN -0.032977
2103 500.040256 Rx NaN 0.6 NaN NaN NaN
2104 500.045256 Tx NaN 4.3 NaN NaN NaN
2105 500.048078 Rx 0.9 NaN NaN NaN NaN
2106 500.048617 Rx NaN NaN NaN -0.00623 NaN
2107 500.048881 Rx NaN NaN 1.15144 NaN NaN
2108 500.049117 Rx NaN NaN NaN NaN -0.015958
Sample transformed data
CarSpeed SteeringAngle YawRate Gx ... YawRate_is_na Gx_is_na Gy_is_na TimeDiff
2089 0.000000 0.003040 0.000000 0.000000 ... True True True -0.060345
2090 0.000000 0.000000 0.000000 -0.017957 ... True False True 0.207672
2091 0.000000 0.000000 0.091041 0.000000 ... False True True -0.027414
2092 0.000000 0.000000 0.000000 0.000000 ... True True False -0.039569
2093 0.000000 0.001216 0.000000 0.000000 ... True True True 0.050603
2094 0.000000 0.005066 0.000000 0.000000 ... True True True 0.370690
2095 0.013187 0.000000 0.000000 0.000000 ... True True True 0.179138
2096 0.000000 0.000000 0.032724 0.000000 ... False True True 0.001552
2097 0.000000 0.000000 0.000000 0.000000 ... True True False -0.039569
2098 0.000000 0.001216 0.000000 0.000000 ... True True True 0.046466
2099 0.000000 0.000000 0.000000 -0.005986 ... True False True 0.313190
2100 0.000000 0.006890 0.000000 0.000000 ... True True True -0.002845
2101 0.000000 0.000000 0.000420 0.000000 ... False True True 0.239741
2102 0.000000 0.000000 0.000000 0.000000 ... True True False -0.040000
2103 0.000000 0.001216 0.000000 0.000000 ... True True True 0.050259
2104 0.000000 0.008713 0.000000 0.000000 ... True True True 0.370690
2105 0.013187 0.000000 0.000000 0.000000 ... True True True 0.182931
2106 0.000000 0.000000 0.000000 -0.005986 ... True False True -0.013879
2107 0.000000 0.000000 0.062092 0.000000 ... False True True -0.037586
2108 0.000000 0.000000 0.000000 0.000000 ... True True False -0.040000
[20 rows x 11 columns]
ds ret = <TensorSliceDataset shapes: ((128, 11), (128, 5)), types: (tf.float32, tf.float32)>
ds ret = <TensorSliceDataset shapes: ((128, 11), (128, 5)), types: (tf.float32, tf.float32)>
Epoch 1/2
[(168, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (177, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (176, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11)]
2020-06-15 17:10:37.532408: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(168, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (177, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (176, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11)]
2020-06-15 17:10:38.068978: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(168, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (177, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (176, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11)]
2020-06-15 17:10:38.643805: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(168, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (177, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (176, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11)]
2020-06-15 17:10:39.217678: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(168, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (177, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (176, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11)]
2020-06-15 17:10:39.745225: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(168, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (177, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (176, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11)]
2020-06-15 17:10:40.310921: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(168, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (177, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (176, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11)]
2020-06-15 17:10:40.852434: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(168, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (177, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (176, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11)]
2020-06-15 17:10:41.376819: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(168, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (177, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (176, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11)]
2020-06-15 17:10:41.912884: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(168, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (177, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (176, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11)]
2020-06-15 17:10:42.435307: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(168, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (177, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (176, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11)]
2020-06-15 17:10:42.989462: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(168, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (177, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (176, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11)]
2020-06-15 17:10:43.498394: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(168, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (177, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (176, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11)]
2020-06-15 17:10:44.014710: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(168, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (177, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (176, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11)]
2020-06-15 17:10:44.513456: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(168, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (177, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (176, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11)]
2020-06-15 17:10:45.028084: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(168, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (177, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (176, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11)]
2020-06-15 17:10:45.600825: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(168, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (177, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (176, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11)]
2020-06-15 17:10:46.162680: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(168, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (177, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (176, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11)]
2020-06-15 17:10:46.723518: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(168, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (177, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (176, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11)]
2020-06-15 17:10:47.230037: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(168, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (177, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (176, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11)]
2020-06-15 17:10:47.814052: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(168, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (177, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (176, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11)]
2020-06-15 17:10:48.375643: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(168, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (177, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (176, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11)]
2020-06-15 17:10:48.918714: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(168, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (177, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (176, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11)]
2020-06-15 17:10:49.502561: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[(168, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (177, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (186, 11), (187, 11), (187, 11), (176, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11), (167, 11), (167, 11), (166, 11)]
2020-06-15 17:10:50.166788: W tensorflow/core/framework/op_kernel.cc:1741] Invalid argument: ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
Error while training for car_model=JaguarXF
ValueError: all input arrays must have the same shape
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/ops/script_ops.py", line 243, in __call__
ret = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 309, in wrapper
return func(*args, **kwargs)
File "package/AutoCyber/detectors/HAnet.py", line 235, in parse_windows
X = np.stack(Xs)
File "<__array_function__ internals>", line 5, in stack
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/shape_base.py", line 426, in stack
raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape
[[{{node PyFunc}}]]
[[IteratorGetNext]] [Op:__inference_train_function_31821]
Function call stack:
train_function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment