mltu
mltu copied to clipboard
handwriting detection problem errors with Modelconfig
I am running the Handwriting detection problem block by block on jupyterlab, and have run into this error which is creating a lotta confusion and idk whether i am just not able to understand what is going on.
# Create a ModelConfigs object to store model configurations
configs = ModelConfigs()
# Save vocab and maximum text length to configs
configs.vocab = "".join(vocab)
configs.max_text_length = max_len
configs.save()
error given: NameError: name 'ModelConfigs' is not defined
i have created a ModelConfigs object on my own but it seems like its supposed to be an object which is already defined in a seperate library as i keep having to manually add variables for every new line of code. can anyone guide me as to where this particular object is supposed to originate from? Or is this an Object which i must manually create?