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
Not sure if this is expected behaviour, but the default implementation for the initial electron configuration doesn't seem to work in all cases.
The script tries to assign a number of electrons to each atom according to the charge and ground state spin of the individual atoms (as mentioned in the ferminet paper) but this fails in some cases.
The main issue is that this behaviour is hardcoded and doesn't seem to be easily changeable without modifying the source code.
Example to reproduce:
importsysfromabslimportloggingfromferminet.utilsimportsystemfromferminetimportbase_configfromferminetimporttrain# Optional, for also printing training progress to STDOUT.# If running a script, you can also just use the --alsologtostderr flag.logging.get_absl_handler().python_handler.stream=sys.stdoutlogging.set_verbosity(logging.INFO)
# Define O2 moleculecfg=base_config.default()
cfg.system.electrons= (9,7) # (alpha electrons, beta electrons)cfg.system.molecule= [system.Atom('O', (0, 0, -1)), system.Atom('O', (0, 0, 1))]
train.train(cfg)
The text was updated successfully, but these errors were encountered:
Sorry, this used to be ok. I'll add a fallback strategy -- don't have time for a complete fix, as selecting particle initialisation is hard -- though increasing the number of pretraining and MCMC burn-in iterations will probably be a good idea for such cases (or at least carefully monitoring MCMC and convergence).
Not sure if this is expected behaviour, but the default implementation for the initial electron configuration doesn't seem to work in all cases.
The script tries to assign a number of electrons to each atom according to the charge and ground state spin of the individual atoms (as mentioned in the ferminet paper) but this fails in some cases.
The main issue is that this behaviour is hardcoded and doesn't seem to be easily changeable without modifying the source code.
Example to reproduce:
The text was updated successfully, but these errors were encountered: