txie-93 / cdvae

An SE(3)-invariant autoencoder for generating the periodic structure of materials [ICLR 2022]
MIT License
211 stars 85 forks source link

ModuleNotFoundError: No module named 'cdvae' #51

Open Saurav-Abid-Rahman opened 9 months ago

Saurav-Abid-Rahman commented 9 months ago

(cdvae) abid@lab3021:~/cdvae$ python cdvae/run.py data=perov expname=perov

Bad key "text.kerning_factor" on line 4 in /home/abid/anaconda3/envs/cdvae/lib/python3.8/site-packages/matplotlib/mpl-data/stylelib/_classic_test_patch.mplstyle. You probably need to get an updated matplotlibrc file from https://github.com/matplotlib/matplotlib/blob/v3.1.2/matplotlibrc.template or from the matplotlib source distribution Traceback (most recent call last): File "cdvae/run.py", line 19, in from cdvae.common.utils import log_hyperparameters, PROJECT_ROOT ModuleNotFoundError: No module named `'cdvae'```

Does anyone have the solution of this problem?

Lunar13737 commented 8 months ago

Perhaps you need to run pip install -e . in the virtual environment first.

yuuhaixia commented 1 month ago

@Lunar13737

Thank you very much , do you know how to fix the following error?

2024-05-13 21:24:38,353][hydra.utils][INFO] - Instantiating Error executing job with overrides: ['data=perov', 'expname=perov'] Error locating target 'cdvae.pl_data.datamodule.CrystDataModule', set env var HY DRA_FULL_ERROR=1 to see chained exception. full_key: data.datamodule

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.