Dear Sir/Madam,
When I tried to generate a MTP, I had finished the STEP 1 & 2 of the tutorials(https://docs.quantumatk.com/tutorials/mtp_hfo2/mtp_hfo2.html). However, when I tried to find an MTP with Lowest Error(Step 3), I used the scrpit "MTP_training.py " which I got from the tutorials. A issue appeared:
Traceback (most recent call last):
File "/opt/QuantumATK/QuantumATK-U-2022.12/bin/../atkpython/bin/atkpython", line 8, in <module>
sys.exit(__run_atkpython())
File "zipdir/ATKExecutables/atkwrappers/__init__.py", line 879, in __run_atkpython
File "/home/dell/data/IGZO_MTPtraining/MTP_training.py", line 19, in <module>
active_learning_data=nlread('active_learning_candidates.hdf5',Trajectory)[-1]
IndexError: list index out of range
Could you help me with this? Thanks very much!
Attachments are the input, 1.log is the log file, the reference-data.hdf5 is too large, I don't upload it.
The error is basically indicating that the file "active_learning_candidates.hdf5" does not contain any Trajectory objects. So the first thing to check is, what objects are actually in this file? You can look at it in the GUI, or via a script using
from NL.IO.NLSaveUtilities import nlinspect
nlinspect("active_learning_candidates.hdf5")