5667af96dade79ef77194d519182d4989494b3a4,ludwig/features/image_feature.py,ImageBaseFeature,add_feature_data,#Any#Any#Any#Any#Any#,192
Before Change
(num_images, height, width, num_channels),
dtype=np.uint8
)
for i in range(len(dataset_df) ):
filepath = get_abs_path(
csv_path,
dataset_df[feature["name"]][i]
After Change
(num_images, height, width, num_channels),
dtype=np.uint8
)
for i, filepath in enumerate(all_file_paths):
image_dataset[i, :height, :width, :] = \
read_image_and_resize(filepath)
data[feature["name"]] = np.arange(num_images)
class ImageInputFeature(ImageBaseFeature, InputFeature):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: uber/ludwig
Commit Name: 5667af96dade79ef77194d519182d4989494b3a4
Time: 2019-08-25
Author: smiryala@uber.com
File Name: ludwig/features/image_feature.py
Class Name: ImageBaseFeature
Method Name: add_feature_data
Project Name: hellohaptik/chatbot_ner
Commit Name: c81fafd9c93e90babeab6b0c7321ee88163955ab
Time: 2018-04-18
Author: jain.chirag925@gmail.com
File Name: ner_v1/chatbot/entity_detection.py
Class Name:
Method Name: output_entity_dict_list
Project Name: uber/ludwig
Commit Name: 7d9db23a389499c2764fb850cd19f853cc3e8565
Time: 2019-08-08
Author: smiryala@uber.com
File Name: ludwig/features/image_feature.py
Class Name: ImageBaseFeature
Method Name: add_feature_data