File size: 1,006 Bytes
0161e74
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/bash
#PJM -L rscgrp=b-batch
#PJM -L gpu=4
#PJM -L elapse=24:00:00
#PJM -j
#PJM -S
#PJM -o /home/hp250092/ku50001222/qian/aivc/lfj/transfer/logs/ccfm_%j.out

# Activate environment
source /home/hp250092/ku50001222/qian/aivc/lfj/stack_env/bin/activate

# Navigate to CCFM
cd /home/hp250092/ku50001222/qian/aivc/lfj/transfer/code/CCFM

# Run training with accelerate (multi-GPU)
accelerate launch --num_processes=4 scripts/run_cascaded.py \
    --data-name norman \
    --d-model 128 \
    --nhead 8 \
    --nlayers 4 \
    --batch-size 48 \
    --lr 5e-5 \
    --steps 200000 \
    --fusion-method differential_perceiver \
    --perturbation-function crisper \
    --noise-type Gaussian \
    --infer-top-gene 1000 \
    --n-top-genes 5000 \
    --use-mmd-loss \
    --gamma 0.5 \
    --split-method additive \
    --fold 1 \
    --scgpt-dim 512 \
    --bottleneck-dim 128 \
    --latent-weight 1.0 \
    --choose-latent-p 0.4 \
    --dh-depth 2 \
    --print-every 10000 \
    --result-path ./result