-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8c5c503
commit bcdd760
Showing
7 changed files
with
131 additions
and
10 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
timm==0.5.4 | ||
Pillow | ||
blobfile | ||
mypy | ||
numpy | ||
pytest | ||
requests | ||
einops | ||
tensorboardX | ||
deepspeed==0.6.5 | ||
scipy | ||
sh | ||
wandb | ||
ftfy | ||
regex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
SEG_CONFIG=configs/eva2_hybrid/Segmenter_EVA02_large_24_512_slide_80k.py | ||
PRETRAIN_CKPT=pretrained/eva02_L_pt_m38m_p14to16.pt | ||
|
||
python -m torch.distributed.launch \ | ||
--use_env train.py --launcher pytorch \ | ||
${SEG_CONFIG} \ | ||
--seed 0 --deterministic --gpu-ids 4 5 6 7 \ | ||
--options model.backbone.pretrained=${PRETRAIN_CKPT} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
CONFIG=$1 | ||
GPUS=$2 | ||
PORT=${PORT:-29500} | ||
CONFIG="configs/eva2_hybrid/Segmenter_EVA02_large_24_512_slide_80k.py" | ||
GPUS=4 | ||
|
||
PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \ | ||
python -m torch.distributed.launch --nproc_per_node=$GPUS --master_port=$PORT \ | ||
$(dirname "$0")/train.py $CONFIG --launcher pytorch ${@:3} | ||
python -m torch.distributed.launch --nproc_per_node=${GPUS} --master_port=-29500 \ | ||
$(dirname "$0")/train.py ${CONFIG} --launcher pytorch ${@:3} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
GPUS=4 | ||
CONFIGS="configs/eva2_hybrid/Segmenter_EVA02_large_24_512_slide_80k.py" | ||
|
||
python -m torch.distributed.launch --nproc_per_node=${GPUS} \ | ||
--use_env train.py --launcher pytorch \ | ||
${CONFIGS} --seed 0 --deterministic --gpus ${GPUS} \ | ||
# --load-from workbench/iter_60000.pth |