Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while training - #32

Open
poroussong opened this issue Jul 19, 2023 · 0 comments
Open

Error while training - #32

poroussong opened this issue Jul 19, 2023 · 0 comments

Comments

@poroussong
Copy link

Hello,

I have an issue during the training step:

File "/home/UFAD/zzhang2/anaconda3/envs/torchmd-net/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 1277, in _log_hyperparams
raise MisconfigurationException(
pytorch_lightning.utilities.exceptions.MisconfigurationException: Error while merging hparams: the keys ['dtype'] are present in both the LightningModule's and LightningDataModule's hparams but have different values.

Besides, when simulating using the pre-trained model, I have another issue:
**(torchmd) ess-geo-34340:~/torchmd-cg/torchmd-cg-master/tutorial> python /home/UFAD/zzhang2/torchmd-master/torchmd/run.py --conf simulate.yaml
Force terms: ['Bonds', 'RepulsionCG']
Traceback (most recent call last):
File "/home/UFAD/zzhang2/torchmd-master/torchmd/run.py", line 289, in
mol, system, forces = setup(args)
File "/home/UFAD/zzhang2/torchmd-master/torchmd/run.py", line 188, in setup
externalmodule = importlib.import_module(args.external["module"])
File "/home/UFAD/zzhang2/anaconda3/envs/torchmd/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 992, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'torchmdnet'
**

I then activate torchmdnet, however, this time it gives me No module named 'torchmd'. Could you help us?

Regards,

Zhe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant