def test_evolve(path_input, path_output): theline = liner( path_input, path_output, # num_corners=200, num_corners=400, # output_size=51, output_size=251, max_line_len=5000, line_weight=1000, ) # theline = liner(path_input, path_output, # num_corners=8, # output_size=51, # max_line_len=20, # line_weight=1000, # ) theline.evolve_line()
def test_pins_line(path_input, path_output): theline = liner(path_input, path_output, num_corners=300, output_size=600) # theline.test_pins_line(4000) theline.test_pins_line(8000) # theline.compute_line() theline.stats()
def test_loss_experiment(path_input, path_output): theline = liner(path_input, path_output, num_corners=4, output_size=11) theline.test_loss()
def test_benchmark_looping_line(path_input, path_output): theline = liner(path_input, path_output, num_corners=4, output_size=10) theline.benchmark_looping_line()
def test_shading(path_input, path_output): theline = liner(path_input, path_output) theline.test_line_shading()