NeROIC icon indicating copy to clipboard operation
NeROIC copied to clipboard

Help! While running the code, an error occurred.

Open sdasdasddaaaa opened this issue 3 years ago • 1 comments

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!

sdasdasddaaaa avatar Oct 09 '22 06:10 sdasdasddaaaa

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 https://github.com/arogozhnikov/einops/issues/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!

kyleolsz avatar Oct 14 '22 02:10 kyleolsz