Skip to content

Commit

Permalink
refine
Browse files Browse the repository at this point in the history
  • Loading branch information
wongzbb committed Jun 18, 2024
1 parent 4fa2158 commit f846ef0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pip install open_clip_torch loguru wandb diffusers einops omegaconf torchmetrics

conda install packaging

mkdir whl & cd whl
mkdir whl && cd whl
wget https://github.com/state-spaces/mamba/releases/download/v2.0.4/mamba_ssm-2.0.4+cu118torch2.0cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
wget https://github.com/Dao-AILab/causal-conv1d/releases/download/v1.2.2.post1/causal_conv1d-1.2.2.post1+cu118torch2.0cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
pip install causal_conv1d-1.2.2.post1+cu118torch2.0cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
Expand Down Expand Up @@ -68,7 +68,7 @@ CUDA_VISIBLE_DEVICES=0,1 TRITON_PTXAS_PATH=your_ptxas_path torchrun --master_por
- `--autocast`: This option enables half-precision training for the model.


## Training Vision Embedder
## Train Vision Embedder
The weight of pretrained DiffMa can be found at [`pretrain_ct_embedder`](pretrain_ct_vision_embedder).
Train CT Vision Embedder by the following scripts to customize the various arguments.
```
Expand Down
2 changes: 1 addition & 1 deletion config/brain.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ accumulation_steps: 1
lr: 1e-4

results_dir: "./results/brain"
model: "DiffMa-L/2"
model: "DiT-L/2"

image_size: 224 #[224, 256, 512]
global_batch_size: 8
Expand Down

0 comments on commit f846ef0

Please sign in to comment.