Skip to content

Conversation

@sanggusti
Copy link

Import error

  • AttributeError from text_recognizer import lit_models. Complications to argparse importing BaseLitModel , change the import reference to from text_recognizer.lit_models import base and refactor variable
  • AttributeError ```
    parser.add_argument("--data_class", type=str, default="MNIST")
    parser.add_argument("--model_class", type=str, default="MLP")

Import error
- AttributeError `from text_recognizer import lit_models`. Complications to argparse importing BaseLitModel , change the import reference to `from text_recognizer.lit_models import base` and refactor variable
- AttributeError ```
parser.add_argument("--data_class", type=str, default="MNIST")
parser.add_argument("--model_class", type=str, default="MLP")
``` no class MNIST or MLP attribute in parse. Propose change to refer args to mnist.MNIST and mlp.MLP
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

Successfully merging this pull request may close these issues.

1 participant