MCPcopy Index your code
hub / github.com/thygate/stable-diffusion-webui-depthmap-script / test.py

File test.py

pix2pix/test.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""General-purpose test script for image-to-image translation.
2
3Once you have trained your model with train.py, you can use this script to test the model.
4It will load a saved model from '--checkpoints_dir' and save the results to '--results_dir'.

Callers

nothing calls this directly

Calls 12

TestOptionsClass · 0.90
create_datasetFunction · 0.90
create_modelFunction · 0.90
GuidedFilterClass · 0.90
setupMethod · 0.80
evalMethod · 0.80
set_input_trainMethod · 0.80
parseMethod · 0.45
testMethod · 0.45
get_current_visualsMethod · 0.45
get_image_pathsMethod · 0.45
saveMethod · 0.45

Tested by

no test coverage detected