For questions about colab usage, please use stackoverflow.
Describe the current behavior:
When running the Build & Train the Model section of the Tiny ML on Arduino Gesture recognition tutorial, a WARNING:tensorflow:Entity is seen when run.
NOTE: This is seen at the start of the Notebook while running on Windows 10:
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/v/vim/xxd_8.0.1453-1ubuntu1.1_amd64.deb 404 Not Found [IP: 91.189.88.152 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
- Describe the expected behavior:
Complete without Warnings
- The web browser you are using (Chrome, Firefox, Safari, etc.):
Chrome
- Link to self-contained notebook that reproduces this issue
(click the *Share* button, then *Get Shareable Link*):
https://colab.research.google.com/github/arduino/ArduinoTensorFlowLiteTutorials/blob/master/GestureToEmoji/arduino_tinyml_workshop.ipynb#scrollTo=f92-4Hjy7kA8
- Warning seen:
Train on 12 samples, validate on 4 samples
Epoch 1/600
WARNING:tensorflow:Entity <function Function._initialize_uninitialized_variables..initialize_variables at 0x7fe172912ae8> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, export AUTOGRAPH_VERBOSITY=10) and attach the full output. Cause: module 'gast' has no attribute 'Num'
WARNING: Entity <function Function._initialize_uninitialized_variables..initialize_variables at 0x7fe172912ae8> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, export AUTOGRAPH_VERBOSITY=10) and attach the full output. Cause: module 'gast' has no attribute 'Num'
12/12 [==============================] - 1s 50ms/sample - loss: 0.3119 - mae: 0.5501 - val_loss: 0.2502 - val_mae: 0.4998
Epoch 2/600
12/12 [==============================] - 0s 3ms/sample - loss: 0.2653 - mae: 0.5116 - val_loss: 0.2498 - val_mae: 0.4994
Epoch 3/600
12/12 [==============================] - 0s 3ms/sample - loss: 0.2620 - mae: 0.5116 - val_loss: 0.2493 - val_mae: 0.4991
Epoch 4/600
12/12 [==============================] - 0s 3ms/sample - loss: 0.2628 - mae: 0.5082 - val_loss: 0.2488 - val_mae: 0.4985
Epoch 5/600
12/12 [==============================] - 0s 3ms/sample - loss: 0.2569 - mae: 0.5058 - val_loss: 0.2443 - val_mae: 0.4942
Epoch 6/600
12/12 [==============================] - 0s 3ms/sample - loss: 0.2553 - mae: 0.4992 - val_loss: 0.2579 - val_mae: 0.4993
Epoch 7/600
12/12 [==============================] - 0s 3ms/sample - loss: 0.2619 - mae: 0.5072 - val_loss: 0.2531 - val_mae: 0.4989
Epoch 8/600
12/12 [==============================] - 0s 3ms/sample - loss: 0.2576 - mae: 0.5051 - val_loss: 0.2521 - val_mae: 0.4983
Epoch 9/600
12/12 [==============================] - 0s 3ms/sample - loss: 0.2569 - mae: 0.5049 - val_loss: 0.2499 - val_mae: 0.4981
Epoch 10/600
12/12 [==============================] - 0s 3ms/sample - loss: 0.2544 - mae: 0.5036 - val_loss: 0.2491 - val_mae: 0.4979
Epoch 11/600
12/12 [==============================] - 0s 3ms/sample - loss: 0.2533 - mae: 0.5029 - val_loss: 0.2485 - val_mae: 0.4978
This is seen from the Convert the Trained Model to Tensor Flow Lite section:
WARNING:tensorflow:Entity <function Function._initialize_uninitialized_variables..initialize_variables at 0x7fe16a17d598> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, export AUTOGRAPH_VERBOSITY=10) and attach the full output. Cause: module 'gast' has no attribute 'Num'
WARNING: Entity <function Function._initialize_uninitialized_variables..initialize_variables at 0x7fe16a17d598> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, export AUTOGRAPH_VERBOSITY=10) and attach the full output. Cause: module 'gast' has no attribute 'Num'
Model is 147764 bytes
Bug report for Colab: http://colab.research.google.com/.
For questions about colab usage, please use stackoverflow.
Describe the current behavior: When running the Build & Train the Model section of the Tiny ML on Arduino Gesture recognition tutorial, a WARNING:tensorflow:Entity is seen when run.
NOTE: This is seen at the start of the Notebook while running on Windows 10:
Train on 12 samples, validate on 4 samples Epoch 1/600 WARNING:tensorflow:Entity <function Function._initialize_uninitialized_variables..initialize_variables at 0x7fe172912ae8> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, .initialize_variables at 0x7fe172912ae8> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux,
export AUTOGRAPH_VERBOSITY=10
) and attach the full output. Cause: module 'gast' has no attribute 'Num' WARNING: Entity <function Function._initialize_uninitialized_variables.export AUTOGRAPH_VERBOSITY=10
) and attach the full output. Cause: module 'gast' has no attribute 'Num' 12/12 [==============================] - 1s 50ms/sample - loss: 0.3119 - mae: 0.5501 - val_loss: 0.2502 - val_mae: 0.4998 Epoch 2/600 12/12 [==============================] - 0s 3ms/sample - loss: 0.2653 - mae: 0.5116 - val_loss: 0.2498 - val_mae: 0.4994 Epoch 3/600 12/12 [==============================] - 0s 3ms/sample - loss: 0.2620 - mae: 0.5116 - val_loss: 0.2493 - val_mae: 0.4991 Epoch 4/600 12/12 [==============================] - 0s 3ms/sample - loss: 0.2628 - mae: 0.5082 - val_loss: 0.2488 - val_mae: 0.4985 Epoch 5/600 12/12 [==============================] - 0s 3ms/sample - loss: 0.2569 - mae: 0.5058 - val_loss: 0.2443 - val_mae: 0.4942 Epoch 6/600 12/12 [==============================] - 0s 3ms/sample - loss: 0.2553 - mae: 0.4992 - val_loss: 0.2579 - val_mae: 0.4993 Epoch 7/600 12/12 [==============================] - 0s 3ms/sample - loss: 0.2619 - mae: 0.5072 - val_loss: 0.2531 - val_mae: 0.4989 Epoch 8/600 12/12 [==============================] - 0s 3ms/sample - loss: 0.2576 - mae: 0.5051 - val_loss: 0.2521 - val_mae: 0.4983 Epoch 9/600 12/12 [==============================] - 0s 3ms/sample - loss: 0.2569 - mae: 0.5049 - val_loss: 0.2499 - val_mae: 0.4981 Epoch 10/600 12/12 [==============================] - 0s 3ms/sample - loss: 0.2544 - mae: 0.5036 - val_loss: 0.2491 - val_mae: 0.4979 Epoch 11/600 12/12 [==============================] - 0s 3ms/sample - loss: 0.2533 - mae: 0.5029 - val_loss: 0.2485 - val_mae: 0.4978WARNING:tensorflow:Entity <function Function._initialize_uninitialized_variables..initialize_variables at 0x7fe16a17d598> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, .initialize_variables at 0x7fe16a17d598> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux,
export AUTOGRAPH_VERBOSITY=10
) and attach the full output. Cause: module 'gast' has no attribute 'Num' WARNING: Entity <function Function._initialize_uninitialized_variables.export AUTOGRAPH_VERBOSITY=10
) and attach the full output. Cause: module 'gast' has no attribute 'Num' Model is 147764 bytes