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

Example run is not working #43

Open
GulerEnes opened this issue Jan 28, 2022 · 1 comment
Open

Example run is not working #43

GulerEnes opened this issue Jan 28, 2022 · 1 comment

Comments

@GulerEnes
Copy link

I am trying to run the codes which are written in readme.md file on Google Colab. When I execute the command $ python -m eoflow.execute configs/example.json this error occurring:

Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/content/eo-flow/eoflow/execute.py", line 49, in
execute(config_file=args.config_file)
File "/content/eo-flow/eoflow/execute.py", line 28, in execute
if not issubclass(model_cls, BaseModel):
File "/usr/lib/python3.7/abc.py", line 143, in subclasscheck
return _abc_subclasscheck(cls, subclass)
TypeError: issubclass() arg 1 must be a class

I couldn't solve the error. Could you please help me?

@devisperessutti
Copy link
Contributor

Hi @GulerEnes

I'd need more details to help you out, e.g. tensorflow versions and eo-learn versions to start with.

I tried the example on a new 3.7 environment and it runs.

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

2 participants