kernel-elastic-autoencoder 3.2.2__tar.gz → 3.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {kernel_elastic_autoencoder-3.2.2 → kernel_elastic_autoencoder-3.2.3}/PKG-INFO +1 -1
- {kernel_elastic_autoencoder-3.2.2 → kernel_elastic_autoencoder-3.2.3}/pyproject.toml +1 -1
- {kernel_elastic_autoencoder-3.2.2 → kernel_elastic_autoencoder-3.2.3}/src/kernel_elastic_autoencoder/training.py +2 -3
- {kernel_elastic_autoencoder-3.2.2 → kernel_elastic_autoencoder-3.2.3}/README.md +0 -0
- {kernel_elastic_autoencoder-3.2.2 → kernel_elastic_autoencoder-3.2.3}/src/kernel_elastic_autoencoder/__init__.py +0 -0
- {kernel_elastic_autoencoder-3.2.2 → kernel_elastic_autoencoder-3.2.3}/src/kernel_elastic_autoencoder/config.py +0 -0
- {kernel_elastic_autoencoder-3.2.2 → kernel_elastic_autoencoder-3.2.3}/src/kernel_elastic_autoencoder/layers.py +0 -0
- {kernel_elastic_autoencoder-3.2.2 → kernel_elastic_autoencoder-3.2.3}/src/kernel_elastic_autoencoder/losses.py +0 -0
- {kernel_elastic_autoencoder-3.2.2 → kernel_elastic_autoencoder-3.2.3}/src/kernel_elastic_autoencoder/model.py +0 -0
- {kernel_elastic_autoencoder-3.2.2 → kernel_elastic_autoencoder-3.2.3}/src/kernel_elastic_autoencoder/pipeline.py +0 -0
- {kernel_elastic_autoencoder-3.2.2 → kernel_elastic_autoencoder-3.2.3}/src/kernel_elastic_autoencoder/tokenizer.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "kernel_elastic_autoencoder"
|
|
3
|
-
version = "3.2.
|
|
3
|
+
version = "3.2.3"
|
|
4
4
|
description = "Implementation of Kernel-Elastic Autoencoder for Molecular Design (https://doi.org/10.1093/pnasnexus/pgae168)"
|
|
5
5
|
authors = [
|
|
6
6
|
{ name = "Felix Rotter-McCartney", email = "felix.rotter@mail.utoronto.ca" }
|
|
@@ -115,6 +115,7 @@ class Trainer:
|
|
|
115
115
|
accelerator.load_state(checkpoint)
|
|
116
116
|
curr_epoch = scheduler.scheduler.last_epoch + 1
|
|
117
117
|
|
|
118
|
+
accelerator.wait_for_everyone()
|
|
118
119
|
for epoch in range(curr_epoch, self.config_typed.common.max_epochs):
|
|
119
120
|
model.train()
|
|
120
121
|
if accelerator.is_local_main_process:
|
|
@@ -140,9 +141,7 @@ class Trainer:
|
|
|
140
141
|
batch_bar = tqdm(
|
|
141
142
|
total=len(dataloader_train), desc=f"Epoch {epoch}, Test Batch"
|
|
142
143
|
)
|
|
143
|
-
for input_ids, conditions, token_mask, condition_mask in
|
|
144
|
-
dataloader_test, desc=f"Epoch {epoch}, Test Batch"
|
|
145
|
-
):
|
|
144
|
+
for input_ids, conditions, token_mask, condition_mask in dataloader_test:
|
|
146
145
|
with torch.no_grad():
|
|
147
146
|
prediction, prediction_noise, latents_noise = model(
|
|
148
147
|
input_ids,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|