@@ -4,105 +4,4 @@ experiment: "" # e.g. "_preset_medium" name experiment preceded by "_"
44output_dir : " ${pipeline.output_dir_root}/${.type}${.experiment}/${dataset.datacatalog}/${dataset.config.dataset_name}/qp${codec.tools.inner_codec.enc_configs.qp}"
55bitstream_name : " ${dataset.config.dataset_name}_qp${codec.tools.inner_codec.enc_configs.qp}"
66
7- # ============================== Configuration below are the same with fctm.yaml in FCTM v9 =========================================
8- # NOTE: Configuration below can always be replaced with the latest fctm.yaml in FCTM if there are any incompatiable issues
9-
10- verbosity : 0
11-
12- coding_behaviour : " all"
13- device :
14- all : " cpu"
15- enc : ${codec.device.all}
16- dec : ${codec.device.all}
17- mac_computation : False # multipy-accumulate computation
18-
19- fcm_sample_stream_wrapper_enabled : True
20-
21- enc_configs :
22- qp : 27
23- frame_rate : 30
24- intra_period : 1
25- n_bit : 10
26- parallel_encoding : False # std inner codec parallel option
27- max_subprocess_limit : null # null = implicit CPU count limit, value = explicit (integer) limit
28- hash_check : 0 # md5 hash check
29-
30- tools :
31- feature_scale : # Encoder only
32- enabled : False
33-
34- feature_transform :
35- enabled : False
36-
37- feature_importance_computation :
38- enabled : False
39- pre_computed : null
40-
41- feature_reduction : # reserved for restoration part as well
42- nn_feature_inv_transform :
43- name : ' light_fedrnet' # (m71247) 'light_fedrnet_with_nn_codec' (m73346)
44- selective_learning_strategy : False # by default (m71203)
45- split_ctx : " obj" # or "seg" # or "alt1" or "dn53"
46- model_dir : " pretrained_weights"
47- cttc_model : True
48-
49- channel_rearrangement :
50- enabled : True
51-
52- channel_removal : # (m71203)
53- enabled : True # by default
54- period : ${codec.enc_configs.intra_period}
55- # When nn_feature_inv_transform.selective_learning_strategy or channel_rearrangement.enabled is equal to True
56- # channel_removal_indication should also be inferred to be True in S/W
57- channel_restoration_indication : False # test all configs
58- use_lcr : True # (m74096)
59-
60- temporal_resampling_enabled : False # (m67615)
61- # To properly enable Temporal resampling ,
62- # temporal_resampling_enabled = True and
63- # "cfgs/codec/vtm-23.3/encoder_lowdelay_vtm_gop4.cfg" must be used
64-
65- refinements : # (m68664)
66- on_restored_ftensor : # (m68391)
67- enabled : True
68- period : ${codec.enc_configs.intra_period}
69- on_reduced_ftensor :
70- enabled : True
71- period : ${codec.enc_configs.intra_period}
72-
73- conversion :
74- type : ' tensor_packing' # or 'bypass'
75- n_bit : ${codec.enc_configs.n_bit}
76- resized_channel_packing : # (m71931)
77- enabled : True
78- period : ${codec.enc_configs.intra_period}
79- use_lcr : True # (m74096)
80-
81- inner_codec :
82- type : ' vtm'
83- stash_outputs : True
84- inner_coding_max_chroma_format : 0 # 4:0:0 only
85- inner_coding_max_pred_constraint : 1 # Intra + uni-prediction (I, P slices)
86- enc_configs : ${codec.enc_configs}
87- split_ctx : ${codec.tools.feature_reduction.nn_feature_inv_transform.split_ctx}
88- codec_paths :
89- _root : " /path/to/vtm" # of HM, JM...
90- enc_exe : " ${._root}/bin/EncoderAppStatic" # or TappEncoderStatic, lencod...
91- dec_exe : " ${._root}/bin/DecoderAppStatic" # or TappDecoderStatic, ldecod...
92- merge_exe : " ${._root}/bin/parcatStatic"
93- cfg_file : " ${._root}/cfg/encoder_intra_vtm.cfg"
94- default_cfg_file : " ${._root}/cfg/encoder.cfg"
95-
96- # two variables below are needed when type is "nn_inner_codec"
97- enc_weight : " pretrained_weights/path/to/inner_encoder_weight"
98- dec_weight : " pretrained_weights/path/to/inner_encoder_weight"
99-
100- sei_messages :
101- vision_model_info :
102- enabled : True
103-
104- vision_model_cfg :
105- enabled : False
106- update : False
107- conf_thres : 0.05
108- max_dets : 100
7+ # configuration parameters can be retrieved / copied from the config file at cfgs/codec/compressai_vision_fctm.cfg within the FCTM directory
0 commit comments