3b6224bc88d9ae94837225d9aed8c41789c8ebda,exps/cbad/utils.py,,cbad_set_generator,#,101
Before Change
if draw_endpoints:
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")
After Change
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: 2
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: jindongwang/transferlearning
Commit Name: 2733bef356c53286d475a67476d88d4840923830
Time: 2020-09-30
Author: jindongwang@outlook.com
File Name: code/deep/finetune_AlexNet_ResNet/finetune_office31.py
Class Name:
Method Name: finetune
Project Name: neurosynth/neurosynth
Commit Name: 5231cd59b6552ed10dd1f2a9393c14d9a5943750
Time: 2013-01-13
Author: tyarkoni@gmail.com
File Name: neurosynth/analysis/decode.py
Class Name: Decoder
Method Name: decode