Skip to content

Commit 6144632

Browse files
authored
chore(sampling): update state dict loading for local checkpoints (#362)
* chore(sampling): fix load_state_dict for local checkpoint * chore(docs): update local checkpoint generation and uv installation help
1 parent 0dadc70 commit 6144632

File tree

3 files changed

+146
-5123
lines changed

3 files changed

+146
-5123
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ DNA-Diffusion is diffusion-based model for generation of 200bp cell type-specifi
4848

4949
## Installation
5050
Our preferred package / project manager is [uv](https://github.com/astral-sh/uv). Please follow their recommended instructions for installation.
51+
For ease we provide their recommended Linux installation command below:
52+
```bash
53+
curl -LsSf https://astral.sh/uv/install.sh | sh
54+
```
5155

5256
To clone the repository and install the necessary packages, run:
5357

@@ -167,7 +171,7 @@ Both examples were run on Google Colab using a T4 GPU.
167171

168172
DNA-Diffusion is designed to be flexible and can be adapted to your own data. To use your own data, you will need to follow these steps:
169173

170-
* Prepare your data in the same format as the DHS Index dataset. The data should be a tab separated text file contains at least the following columns:
174+
* Prepare your data in the same format as our DHS Index [dataset](data/K562_hESCT0_HepG2_GM12878_12k_sequences_per_group.txt). The data should be a tab separated text file contains at least the following columns:
171175
* `chr`: the chromosome of the regulatory element (e.g. chr1, chr2, etc.)
172176
* `sequence`: the DNA sequence of the regulatory element
173177
* `TAG`: the cell type of the regulatory element (e.g. K562, hESCT0, HepG2, GM12878, etc.)

0 commit comments

Comments
 (0)