This is the implementation of Controlled Diffusion Network (CODNet).
git clone https://github.com/KaziFahmi/EDM_Custom.git
Go to wandb.ai/site
and sign up. Upon logging into your account, you should get access to the API key for your account.
Open the sbdd-diffusion.ipynb
file.
In the first cell:
- Insert your Wandb API key into the 'wandb_key' variable.
- Replace with the appropriate file address.
- Ensure that the save_model variable is set to True to save the model weights.
- Run all the cells to train the EDM. The weights of the trained model should appear as the training progresses.
- Open the sbdd-controlled-diffusion.ipynb file.
- In the first cell:
- Insert your Wandb API key into the wandb_key variable.
- Specify the path to the pretrained EDM weights in the pretrained_FDD_path variable.
- Run all the cells to train the Controlled EDM.
The process described above may not function smoothly if the .ipynb files are not run in Kaggle's environment.