Upload adv_d2_phtrandom_uniform_a0.0_ew0.10/configs/extractor.yaml with huggingface_hub
Browse files
adv_d2_phtrandom_uniform_a0.0_ew0.10/configs/extractor.yaml
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model: convnext_tiny
|
| 2 |
+
|
| 3 |
+
hidden:
|
| 4 |
+
num_blocks: 8
|
| 5 |
+
num_bits: 16
|
| 6 |
+
in_channels: 3
|
| 7 |
+
z_channels: 64
|
| 8 |
+
normalization: 'group'
|
| 9 |
+
activation: 'gelu'
|
| 10 |
+
|
| 11 |
+
hidden_orig:
|
| 12 |
+
num_blocks: 8
|
| 13 |
+
num_bits: 16
|
| 14 |
+
in_channels: 3
|
| 15 |
+
z_channels: 64
|
| 16 |
+
normalization: 'batch'
|
| 17 |
+
activation: 'relu'
|
| 18 |
+
|
| 19 |
+
sam_small:
|
| 20 |
+
encoder:
|
| 21 |
+
img_size: 256
|
| 22 |
+
embed_dim: 384
|
| 23 |
+
out_chans: 384
|
| 24 |
+
depth: 12
|
| 25 |
+
num_heads: 6
|
| 26 |
+
patch_size: 16
|
| 27 |
+
global_attn_indexes: [2, 5, 8, 11]
|
| 28 |
+
window_size: 8
|
| 29 |
+
mlp_ratio: 4
|
| 30 |
+
qkv_bias: True
|
| 31 |
+
use_rel_pos: True
|
| 32 |
+
pixel_decoder:
|
| 33 |
+
pixelwise: False # return msg per pixel (k h w)
|
| 34 |
+
upscale_stages: [1] # 4*2*2 = x16 (patch size)
|
| 35 |
+
embed_dim: 384 # = encoder.out_chans
|
| 36 |
+
nbits: 16
|
| 37 |
+
sigmoid_output: False
|
| 38 |
+
upscale_type: 'bilinear' # 'pixelshuffle', 'nearest', 'conv', 'bilinear'
|
| 39 |
+
|
| 40 |
+
sam_small_pw:
|
| 41 |
+
encoder:
|
| 42 |
+
img_size: 256
|
| 43 |
+
embed_dim: 384
|
| 44 |
+
out_chans: 384
|
| 45 |
+
depth: 12
|
| 46 |
+
num_heads: 6
|
| 47 |
+
patch_size: 16
|
| 48 |
+
global_attn_indexes: [2, 5, 8, 11]
|
| 49 |
+
window_size: 8
|
| 50 |
+
mlp_ratio: 4
|
| 51 |
+
qkv_bias: True
|
| 52 |
+
use_rel_pos: True
|
| 53 |
+
pixel_decoder:
|
| 54 |
+
pixelwise: True # return msg per pixel (k h w)
|
| 55 |
+
upscale_stages: [4, 2, 2] # 4*2*2 = x16 (patch size)
|
| 56 |
+
embed_dim: 384 # = encoder.out_chans
|
| 57 |
+
nbits: 16
|
| 58 |
+
sigmoid_output: False
|
| 59 |
+
upscale_type: 'bilinear' # 'pixelshuffle', 'nearest', 'conv', 'bilinear'
|
| 60 |
+
|
| 61 |
+
convnext_tiny:
|
| 62 |
+
encoder:
|
| 63 |
+
depths: [3, 3, 9, 3]
|
| 64 |
+
dims: [96, 192, 384, 768]
|
| 65 |
+
pixel_decoder:
|
| 66 |
+
pixelwise: False # return msg per pixel (k h w)
|
| 67 |
+
upscale_stages: [1]
|
| 68 |
+
embed_dim: 768 # = encoder.out_chans
|
| 69 |
+
nbits: 16
|
| 70 |
+
sigmoid_output: False
|
| 71 |
+
|
| 72 |
+
convnext_base:
|
| 73 |
+
encoder:
|
| 74 |
+
depths: [3, 3, 27, 3]
|
| 75 |
+
dims: [128, 256, 512, 1024]
|
| 76 |
+
pixel_decoder:
|
| 77 |
+
pixelwise: False # return msg per pixel (k h w)
|
| 78 |
+
upscale_stages: [1]
|
| 79 |
+
embed_dim: 1024 # = encoder.out_chans
|
| 80 |
+
nbits: 16
|
| 81 |
+
sigmoid_output: False
|
| 82 |
+
|
| 83 |
+
convnext_tiny_pw:
|
| 84 |
+
encoder:
|
| 85 |
+
depths: [3, 3, 9, 3]
|
| 86 |
+
dims: [96, 192, 384, 768]
|
| 87 |
+
pixel_decoder:
|
| 88 |
+
upscale_stages: [4, 4, 2] # 4*2*2 = x16 (patch size)
|
| 89 |
+
embed_dim: 768 # = encoder.out_chans
|
| 90 |
+
nbits: 16
|
| 91 |
+
sigmoid_output: False
|
| 92 |
+
pixelwise: True
|
| 93 |
+
|
| 94 |
+
convnext_base_pw:
|
| 95 |
+
encoder:
|
| 96 |
+
depths: [3, 3, 27, 3]
|
| 97 |
+
dims: [128, 256, 512, 1024]
|
| 98 |
+
pixel_decoder:
|
| 99 |
+
upscale_stages: [4, 4, 2] # 4*2*2 = x16 (patch size)
|
| 100 |
+
embed_dim: 1024 # = encoder.out_chans
|
| 101 |
+
nbits: 16
|
| 102 |
+
sigmoid_output: False
|
| 103 |
+
pixelwise: True
|
| 104 |
+
|
| 105 |
+
#chunkyseal extractor
|
| 106 |
+
convnext_chunky: # Larger VideoSeal model (ConvNeXt-Base)
|
| 107 |
+
proportional_dim: True # Scale the dims proportionally to the number of bits, with the defaults being set for 128 bits.
|
| 108 |
+
encoder:
|
| 109 |
+
stem_stride: 2 # Reduce the stride for the first layer to 2 from the original 4
|
| 110 |
+
depths: [3, 3, 27, 3]
|
| 111 |
+
dims: [128, 256, 512, 1024]
|
| 112 |
+
pixel_decoder:
|
| 113 |
+
pixelwise: False # return msg per pixel (k h w)
|
| 114 |
+
upscale_stages: [1]
|
| 115 |
+
sigmoid_output: False
|
| 116 |
+
|
| 117 |
+
# Alias for backward compatibility with old checkpoints
|
| 118 |
+
convnext_sweep_3_prop_stride2: # Same as convnext_chunky
|
| 119 |
+
proportional_dim: True
|
| 120 |
+
encoder:
|
| 121 |
+
stem_stride: 2
|
| 122 |
+
depths: [3, 3, 27, 3]
|
| 123 |
+
dims: [128, 256, 512, 1024]
|
| 124 |
+
pixel_decoder:
|
| 125 |
+
pixelwise: False
|
| 126 |
+
upscale_stages: [1]
|
| 127 |
+
sigmoid_output: False
|