MCPcopy Create free account
hub / github.com/circuitnet/CircuitNet / parse_args

Function parse_args

feature_extraction/vis.py:45–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 cv2.imwrite('%s/%s.jpg'%(feature_save_path,name), feature)
44
45def parse_args():
46 parser = argparse.ArgumentParser()
47 parser.add_argument("--data_path", default = './out/cell_density', type=str, help = 'path to the dataset')
48 parser.add_argument("--save_path", default = './images/cell_density', type=str, help = 'path to save')
49
50 args = parser.parse_args()
51 return args
52
53if __name__ == '__main__':
54 args = parse_args()

Callers 1

vis.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected