3b6224bc88d9ae94837225d9aed8c41789c8ebda,exps/cbad/utils.py,,cbad_set_generator,#Any#Any#Any#Any#Any#Any#Any#Any#,101
Before Change
classes = np.stack([(0, 0, 0), DRAWING_COLOR_BASELINES, DRAWING_COLOR_POINTS])
np.savetxt(os.path.join(output_dir, "classes.txt"), classes, fmt="%d")
else:
classes = np.stack([(0, 0, 0), DRAWING_COLOR_BASELINES])
np.savetxt(os.path.join(output_dir, "classes.txt"), classes, fmt="%d")
def draw_lines_fn(xml_filename: str, output_dir: str):
After Change
draw_lines=draw_lines, line_thickness=line_thickness,
draw_endpoints=draw_endpoints, diameter_endpoint=circle_thickness)
classes = [(0, 0, 0)]
if draw_baselines:
classes.append(DRAWING_COLOR_BASELINES)
if draw_lines:
classes.append(DRAWING_COLOR_LINES)
if draw_endpoints:
classes.append(DRAWING_COLOR_POINTS)
np.savetxt(os.path.join(output_dir, "classes.txt"), classes, fmt="%d")
def draw_lines_fn(xml_filename: str, output_dir: str):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: dhlab-epfl/dhSegment
Commit Name: 3b6224bc88d9ae94837225d9aed8c41789c8ebda
Time: 2019-07-18
Author: sofia.oliveiraares@epfl.ch
File Name: exps/cbad/utils.py
Class Name:
Method Name: cbad_set_generator
Project Name: SPFlow/SPFlow
Commit Name: 6ce049fae6ac83de1c88f2237308f315c84eb7e0
Time: 2020-01-29
Author: molina@cs.tu-darmstadt.de
File Name: src/spn/experiments/layers/spflow_vs_pytorch.py
Class Name:
Method Name: benchmark
Project Name: adalca/neuron
Commit Name: feed1bb47af69b29441ef8086e98f0b1cca36838
Time: 2017-04-07
Author: adalca@mit.edu
File Name: neuron/callbacks.py
Class Name: PredictMetrics
Method Name: on_epoch_end