2b4dfea5674a6b6b4d6556d7546a387f41f947fa,tools/colorize_tifs.py,,,#,86

Before Change



    for path in paths_sources:
        path_source_basename = os.path.basename(path)
        if opts.tags is not None and not any(tag in path for tag in opts.tags):
            continue
        hue_sat = None
        for tag in tags_to_colors_map:

After Change


                    last_pos = pos
                    hue_sat = tags_to_colors_map[tag]
                    val_range = tags_to_val_ranges_map[tag]
        if val_range is None:
            print("could not find tag for:", path)
            print("  skipping....")
            continue
        img_source = tifffile.imread(path)
        print("DEBUG:", np.min(img_source), np.max(img_source), path)

        if hue_sat is None:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: AllenCellModeling/pytorch_fnet
Commit Name: 2b4dfea5674a6b6b4d6556d7546a387f41f947fa
Time: 2017-11-10
Author: chek.o@outlook.com
File Name: tools/colorize_tifs.py
Class Name:
Method Name:


Project Name: KaiyangZhou/deep-person-reid
Commit Name: b88d36cd9c8056e15607a40f5d10a9072ab84b22
Time: 2018-07-06
Author: k.zhou@qmul.ac.uk
File Name: train_imgreid_xent.py
Class Name:
Method Name: main


Project Name: KaiyangZhou/deep-person-reid
Commit Name: b88d36cd9c8056e15607a40f5d10a9072ab84b22
Time: 2018-07-06
Author: k.zhou@qmul.ac.uk
File Name: train_vidreid_xent.py
Class Name:
Method Name: main