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

Help! While running the code, an error occurred. #25

Open
sdasdasddaaaa opened this issue Oct 9, 2022 · 1 comment
Open

Help! While running the code, an error occurred. #25

sdasdasddaaaa opened this issue Oct 9, 2022 · 1 comment

Comments

@sdasdasddaaaa
Copy link

In the process of running the code 'python train.py --config configs/milkbox_geometry.yaml --datadir ./data/milkbox_dataset', an error occurs, prompting 'AttributeError: module 'keras.backend' has no attribute 'is_tensor'
' Error, please, how do I fix this? Thanks!

@kyleolsz
Copy link
Contributor

kyleolsz commented Oct 14, 2022

This looks like it's due to a mismatch between the package versions and the environment we use and yours.
Are you configuring the environment using the environment.yaml file in the repo?

Based on my initial search for this error message, I'm guessing it's something related to this issue, likely in the einops package:

https://pythontechworld.com/issue/arogozhnikov/einops/134
arogozhnikov/einops#127

If adjusting the environment to make sure you're using the right package versions and any of the suggestions in the links above don't help, can you share a little more info?

  • The full error message, including the line in our code at which this error was triggered
  • A list of the installed packages/versions you have in the environment you're using when you get this error

Thanks!

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