jayxsinha / Efficient-CNN-BiLSTM-for-Network-IDS

Code for Paper : Efficient-CNN-BiLSTM-for-Network-IDS
MIT License
95 stars 16 forks source link

Error #5

Closed shreeya-jain closed 2 years ago

shreeya-jain commented 2 years ago
p

ypeError Traceback (most recent call last)

in () 29 30 ---> 31 model.fit(x_train_1, y_train_1,validation_data=(x_test_2,y_test_2), epochs=2) 32 33 pred = model.predict(x_test_2) 1 frames /usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/def_function.py in _call(self, *args, **kwds) 940 # In this case we have created variables on the first call, so we run the 941 # defunned version which is guaranteed to never create variables. --> 942 return self._stateless_fn(*args, **kwds) # pylint: disable=not-callable 943 elif self._stateful_fn is not None: 944 # Release the lock early so that multiple threads can perform the call TypeError: 'NoneType' object is not callable
jayxsinha commented 2 years ago

Hi

Have a look at the readme of the repo, I have added URLs to public Kaggle notebooks that will help you reproduce the results.

Thanks!