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
In Chapter9_ModelMaker.ipynb, I encounter the following error messages (pardon the long list):
# neccessary packages
import numpy as np
import tensorflow as tf
assert tf.__version__.startswith('2')
from tflite_model_maker import configs
from tflite_model_maker import ExportFormat
from tflite_model_maker import image_classifier
from tflite_model_maker import ImageClassifierDataLoader
from tflite_model_maker import model_spec
ModuleNotFoundError: No module named 'tensorflowjs'
... your existing code runs fine here, omitted for brevity
# review directory listing
os.listdir(image_path)
['tulips', 'daisy', 'roses', 'LICENSE.txt', 'dandelion', 'sunflowers']
# prepare dataset
data = ImageClassifierDataLoader.from_folder(image_path)
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Input In [20], in <cell line: 2>()
1 # prepare dataset
----> 2 data = ImageClassifierDataLoader.from_folder(image_path)
NameError: name 'ImageClassifierDataLoader' is not defined
Since I do not have a need for tensorflowjs in Chapter 9, what is the workaround to suppress this message? Thanks.
Regards.
The text was updated successfully, but these errors were encountered:
In Chapter9_ModelMaker.ipynb, I encounter the following error messages (pardon the long list):
Since I do not have a need for tensorflowjs in Chapter 9, what is the workaround to suppress this message? Thanks.
Regards.
The text was updated successfully, but these errors were encountered: