-
Notifications
You must be signed in to change notification settings - Fork 599
Labels
Description
I set the typemap in param.json as ["Co","Ni"], and use a dataset of bulk Ni. Then ntypes error happens!
Traceback (most recent call last):
File "/nfs-share/home/1800011848/miniconda3/bin/dp", line 10, in <module>
sys.exit(main())
File "/nfs-share/home/1800011848/miniconda3/lib/python3.8/site-packages/deepmd/main.py", line 66, in main
train(args)
File "/nfs-share/home/1800011848/miniconda3/lib/python3.8/site-packages/deepmd/train.py", line 81, in train
_do_work(jdata, run_opt)
File "/nfs-share/home/1800011848/miniconda3/lib/python3.8/site-packages/deepmd/train.py", line 134, in _do_work
model.build (data, stop_batch)
File "/nfs-share/home/1800011848/miniconda3/lib/python3.8/site-packages/deepmd/Trainer.py", line 209, in build
assert (self.ntypes == data.get_ntypes()), "ntypes should match that found in data"
AssertionError: ntypes should match that found in data
And the same param works well when using a alloy dataset( all type.raw have two elements)
Reactions are currently unavailable