SOLVER: | |
gpu: 0,1,2, | |
run: train | |
logdir: logs/spatialLM_scannetpp | |
max_epoch: 1500 | |
test_every_epoch: 1 | |
log_per_iter: 5 | |
ckpt_num: 5 | |
expand_ckpt: False | |
port: 10001 | |
# optimizer | |
type: adamw | |
weight_decay: 0.01 # default value of adamw | |
lr: 0.0001 # default value of adamw | |
rand_seed: 0 | |
use_amp: True | |
# learning rate | |
lr_type: cos | |
step_size: (160,240) | |
DATA: | |
train: | |
name: &name SpatialLM | |
# data loading | |
location: &location /home/runyi_yang/Gen3D/dataset/ScanNetpp-SpatialLM/ | |
filelist: &filelist data/ScanNetpp.txt | |
codetemplate: &codetemplate utils/code_template.txt | |
tokenizer_name: &tokenizer_name manycore-research/SpatialLM-Llama-1B # meta-llama/Llama-3.2-1B-Instruct | |
config_path: &config_path checkpoints/SpatialLM-Llama-1B | |
batch_size: 2 | |
shuffle: True | |
num_workers: 16 | |
test: | |
name: | |
# data loading | |
location: | |
filelist: data/ScanNetpp.txt | |
codetemplate: | |
tokenizer_name: | |
batch_size: 1 | |
shuffle: False | |
num_workers: 0 | |
MODEL: | |
find_unused_parameters: True | |
model_name: SpatialLMLlama | |
tokenizer_name: | |
config_path: |