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

ImportError: attempted relative import with no known parent package #359

Open
bc-bytes opened this issue Feb 11, 2022 · 1 comment
Open

Comments

@bc-bytes
Copy link

I'm attempting to train a unet model, and am getting this error:

Traceback (most recent call last):
  File "/home/kseg/keras_segmentation/train.py", line 4, in <module>
    from .data_utils.data_loader import image_segmentation_generator, \
ImportError: attempted relative import with no known parent package

I suspect this is linked to python version. I am using 3.9. Anyone have any pointers?

@divamgupta
Copy link
Owner

Could you post the command/code to reproduce your error?

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