0e3dc773bfe1cc74e3c72192c5dc6fbf63864d08,train.py,,,#,132
Before Change
your_objs_info_list = your_data.get_joint_list()
your_mask_list = your_data.get_mask()
if len(your_imgs_file_list) != len(your_objs_info_list):
raise Exception("number of customized images and annotations do not match")
else:
print("number of customized images {}".format(len(your_imgs_file_list)))
// choice dataset for training
After Change
folder_list = tl.files.load_folder_list(path="your_data")
your_imgs_file_list, your_objs_info_list, your_mask_list = [], [], []
for folder in folder_list:
_imgs_file_list, _objs_info_list, _mask_list, _targets = \
get_pose_data_list(os.path.join(folder, "images"), os.path.join(folder, "coco.json"))
print(len(_imgs_file_list))
your_imgs_file_list.extend(_imgs_file_list)
your_objs_info_list.extend(your_objs_info_list)
your_mask_list.extend(your_mask_list)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances Project Name: tensorlayer/openpose-plus
Commit Name: 0e3dc773bfe1cc74e3c72192c5dc6fbf63864d08
Time: 2018-08-28
Author: dhsig552@163.com
File Name: train.py
Class Name:
Method Name:
Project Name: openml/openml-python
Commit Name: a98ad8afec08c9d6172cc1d705467985f3e9dd36
Time: 2015-03-02
Author: feurerm@informatik.uni-freiburg.de
File Name: tests/test_apiconnector.py
Class Name: TestAPIConnector
Method Name: test_get_cached_datasets
Project Name: tensorlayer/openpose-plus
Commit Name: 0e3dc773bfe1cc74e3c72192c5dc6fbf63864d08
Time: 2018-08-28
Author: dhsig552@163.com
File Name: train.py
Class Name:
Method Name:
Project Name: openml/openml-python
Commit Name: a98ad8afec08c9d6172cc1d705467985f3e9dd36
Time: 2015-03-02
Author: feurerm@informatik.uni-freiburg.de
File Name: tests/test_apiconnector.py
Class Name: TestAPIConnector
Method Name: test_get_cached_dataset