ucf-b / config.yaml
dubm's picture
Upload 2 files
554e254 verified
raw
history blame
1.78 kB
SWA: false
backbone_config:
dropout: false
inc: 3
mode: adjust_channel
num_classes: 2
backbone_name: xception
compression: c23
cuda: true
cudnn: true
dataset_json_folder: preprocessing/dataset_json_v3
dataset_meta:
fake:
- path: bitmind/bm-subnet-realvis-256
- path: bitmind/bm-subnet-mobius-256
- path: bitmind/bm-subnet-sdxl-256
- path: bitmind/celeb-a-hq___stable-diffusion-xl-base-1.0
- path: bitmind/ffhq-256___stable-diffusion-xl-base-1.0
real:
- path: bitmind/bm-real
- path: bitmind/celeb-a-hq
- path: bitmind/ffhq-256
ddp: false
dry_run: false
encoder_feat_dim: 512
frame_num:
test: 32
train: 32
gpu_id: 0
lmdb: true
lmdb_dir: ./datasets/lmdb
log_dir: ./logs/training/ucf_2024-10-25-08-23-32
logdir: ./logs
loss_func:
cls_loss: cross_entropy
con_loss: contrastive_regularization
rec_loss: l1loss
spe_loss: cross_entropy
losstype: null
lr_scheduler: null
manualSeed: 1024
mean: [0.5, 0.5, 0.5]
metric_scoring: auc
mode: train
model_name: ucf
nEpochs: 10
optimizer:
adam:
amsgrad: false
beta1: 0.9
beta2: 0.999
eps: 1.0e-08
lr: 0.0002
weight_decay: 0.0005
sgd:
lr: 0.0002
momentum: 0.9
weight_decay: 0.0005
type: adam
pretrained: ../weights/xception-best.pth
rec_iter: 100
resolution: 256
rgb_dir: ./datasets/rgb
save_avg: true
save_ckpt: true
save_epoch: 1
save_feat: true
specific_task_number: 5
start_epoch: 0
std: [0.5, 0.5, 0.5]
test_batchSize: 32
train_batchSize: 32
train_dataset:
- bitmind/bm-real
- bitmind/celeb-a-hq
- bitmind/ffhq-256
- bitmind/bm-subnet-realvis-256
- bitmind/bm-subnet-mobius-256
- bitmind/bm-subnet-sdxl-256
- bitmind/celeb-a-hq___stable-diffusion-xl-base-1.0
- bitmind/ffhq-256___stable-diffusion-xl-base-1.0
with_landmark: false
with_mask: false
workers: 7