Closed memani1 closed 1 year ago
What branches of Benchmarks and candle_lib are you using? This error should only occur if neither Tensorflow or PyTorch is present in the environment
This is with master branch.
I do not see this issue. What version of keras/tensorflow is in your environment? Also the latest master should not be importing from common/candle it should be using the new candle_lib package
TF2.9.1, keras 2.9.0. The uno_baseline_keras2.py imports from candle, right? Is there a way to use the candle_lib package?
If you download candle_lib and 'pip install -e .' within your environment then 'import candle' will use that. I do not know how 'import candle' is working in your environment unless you have manually added common/candle to your python path. In either case, the init.py is checking for tensorflow.keras, so possibly keras.2.9.0 (which should be part of tensorflow) is the issue (although tf2.9.1 should include tensorflow.keras also?) https://github.com/ECP-CANDLE/candle_lib
Installing candle_lib and setting data path helped. Thank you!
So this works now? I am still not sure how the code was finding candle previously, but happy if it is working now. Please close the issue if it is resolved for you.
Hi,
I got the following error running the Uno code. This used to work earlier though, I believe changes in Benchmarks/common/candle/init.py resulted in this error.