1ef3ad90a3423ed15ca41e0ea4e81012ebe84a9f,catalyst/data/scripts/project_embeddings.py,,main,#Any#Any#,88
Before Change
df = df.sample(n=args.num_rows)
if args.img_col is not None:
image_names = [
path.join(args.img_rootpath, name)
for name in df[args.img_col].values
]
img_data = np.stack(
[load_image(name, args.img_size) for name in image_names], axis=0
)
img_data = (
After Change
img_data = None
summary_writer = SummaryWriter(args.out_dir)
metadata = df[meta_header].values.tolist()
metadata = [
[
str(text)
.replace("\n", " ")
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: catalyst-team/catalyst
Commit Name: 1ef3ad90a3423ed15ca41e0ea4e81012ebe84a9f
Time: 2020-08-11
Author: scitator@gmail.com
File Name: catalyst/data/scripts/project_embeddings.py
Class Name:
Method Name: main
Project Name: aleju/imgaug
Commit Name: 8147376c79287a1fe56f230e6f444c4f2d70f2fe
Time: 2019-10-15
Author: kontakt@ajung.name
File Name: imgaug/augmenters/geometric.py
Class Name: PerspectiveTransform
Method Name: _draw_samples
Project Name: uber/ludwig
Commit Name: 4a4f7cabe2baef71318784bf7c95aa8a669cc83f
Time: 2020-05-11
Author: piero@uber.com
File Name: ludwig/features/h3_feature.py
Class Name: H3BaseFeature
Method Name: add_feature_data
Project Name: OpenNMT/OpenNMT-py
Commit Name: c2a9e8317be6120c991082c319544a2076b87624
Time: 2020-10-22
Author: linxiao.zeng@gmail.com
File Name: onmt/transforms/bart.py
Class Name: BARTNoising
Method Name: insertion_noise