method: 'live' image_size: 240 # img size and canvas size # train num_iter: 500 # num_iter per path group num_stages: 1 # training stages, you can train x strokes, then freeze them and train another x strokes etc lr_base: point: 1 color: 0.01 bg: 0.01 stroke_width: 0.1 stroke_color: 0.01 lr_schedule: True # use lr_schedule # SVG path attr num_paths: 5 # number of strokes path_schedule: 'repeat' schedule_each: 1 # [1, 3, 5, 7] train_stroke: False # train stroke width and color trainable_bg: False # set the background to be trainable width: 3 # stroke width num_segments: 4 segment_init: 'circle' # 'random' radius: 5 coord_init: 'sparse' # 'random', 'naive', place the first control point # loss use_l1_loss: False use_distance_weighted_loss: True xing_loss_weight: 0.01