You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, when running MACE (installed from source, not pip) with num_interactions=1 and enable_cueq=True I get the following error.
2024-12-13 13:07:11.655 INFO: Converting model to CUEQ for accelerated training
Traceback (most recent call last):
File "/home/ldkam/miniconda3/envs/cueq/bin/mace_run_train", line 8, in <module>
sys.exit(main())
File "/home/ldkam/miniconda3/envs/cueq/lib/python3.10/site-packages/mace/cli/run_train.py", line 66, in main
run(args)
File "/home/ldkam/miniconda3/envs/cueq/lib/python3.10/site-packages/mace/cli/run_train.py", line 581, in run
model = run_e3nn_to_cueq(deepcopy(model), device=device)
File "/home/ldkam/miniconda3/envs/cueq/lib/python3.10/site-packages/mace/cli/convert_e3nn_cueq.py", line 132, in run
config = extract_config_mace_model(source_model)
File "/home/ldkam/miniconda3/envs/cueq/lib/python3.10/site-packages/mace/tools/scripts_utils.py", line 184, in extract_config_mace_model
mlp_irreps = o3.Irreps(f"{model_mlp_irreps.count((0, 1)) // len(heads)}x0e")
AttributeError: 'int' object has no attribute 'count'
I think it's due to the following code in mace/tools/scripts_utils.py:
Hi, when running MACE (installed from source, not pip) with
num_interactions=1
andenable_cueq=True
I get the following error.I think it's due to the following code in
mace/tools/scripts_utils.py
:If
num_interactions=1
,model_mlp_irreps=1
which does not have the.count
method.The text was updated successfully, but these errors were encountered: