Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Telegram crashes tensorflow model #60

Open
sword134 opened this issue Jul 12, 2020 · 0 comments
Open

Telegram crashes tensorflow model #60

sword134 opened this issue Jul 12, 2020 · 0 comments

Comments

@sword134
Copy link

Hello,
I recently installed knockknock and I am using it with the telegram functionality. It works and sends me messages, however when my tensorflow model is done training, knockknock crashes the entire process with the below error (taken from the telegram message received):

Your training has crashed ☠️
Machine name: TomasPC
Main call: auto_train_ML_model
Starting date: 2020-07-10 23:32:02
Crash date: 2020-07-10 23:51:43
Crashed training duration: 0:19:40.329927


Here's the error:
nan


Traceback:
Traceback (most recent call last):
  File "D:\Anaconda\envs\tf-gpu\lib\site-packages\knockknock\telegram_sender.py", line 55, in wrapper_sender
    value = func(*args, **kwargs)
  File "d:\AutoKerasProject\AutoKeras. AutoModel. Time Series. Timeseriesgenerator.py", line 125, in auto_train_ML_model
    print(y_train)
  File "D:\Anaconda\envs\tf-gpu\lib\site-packages\autokeras\auto_model.py", line 444, in evaluate
    dataset = self._process_xy(x, y, False)
  File "D:\Anaconda\envs\tf-gpu\lib\site-packages\autokeras\auto_model.py", line 307, in _process_xy
    y = self._adapt(y, fit, self._heads, self._output_adapters)
  File "D:\Anaconda\envs\tf-gpu\lib\site-packages\autokeras\auto_model.py", line 275, in _adapt
    source = adapter.transform(source)
  File "D:\Anaconda\envs\tf-gpu\lib\site-packages\autokeras\engine\adapter.py", line 88, in transform
    return self.convert_to_dataset(dataset)
  File "D:\Anaconda\envs\tf-gpu\lib\site-packages\autokeras\adapters\output_adapter.py", line 101, in convert_to_dataset
    dataset = self.label_encoder.encode(dataset)
  File "D:\Anaconda\envs\tf-gpu\lib\site-packages\autokeras\encoders.py", line 128, in encode
    data))).reshape(-1, 1)
  File "D:\Anaconda\envs\tf-gpu\lib\site-packages\autokeras\encoders.py", line 127, in <lambda>
    return np.array(list(map(lambda x: self._label_to_int[x],
KeyError: nan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant