Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upadd yolo with iou loss #117
Conversation
| new_save_dir = paddlex.pretrain_dir | ||
| if backbone == 'ResNet50_vd': | ||
| backbone = 'ResNet50_vd_dcn_db_obj365' | ||
| assert backbone in obj365_pretrain, "There is not Object365 pretrain weights for {}, you may try ImageNet.".format( |
jiangjiajun
May 28, 2020
Collaborator
改成 There is no pretrain weight on Object365 dataset for {}, try use pretrain_weights='IMAGENET' 这样吧
改成 There is no pretrain weight on Object365 dataset for {}, try use pretrain_weights='IMAGENET' 这样吧
| backbone) | ||
| url = obj365_pretrain[backbone] | ||
| fname = osp.split(url)[-1].split('.')[0] | ||
| paddlex.utils.download_and_decompress(url, path=new_save_dir) |
jiangjiajun
May 28, 2020
Collaborator
这里得改成hub下载
这里得改成hub下载
| use_iou_aware_loss=False, | ||
| iou_aware_factor=0.4, | ||
| use_drop_block=False, | ||
| use_dcn_v2=False, |
jiangjiajun
May 28, 2020
Collaborator
这里列的参数,是对于yolo所有backbone都适用么
这里列的参数,是对于yolo所有backbone都适用么
| use_iou_aware_loss=self.use_iou_aware_loss, | ||
| iou_aware_factor=self.iou_aware_factor, | ||
| use_drop_block=self.use_drop_block, | ||
| batch_size=self.train_batch_size if hasattr(self, 'train_batch_size') else 8) |
jiangjiajun
May 28, 2020
Collaborator
这里怎么还传入了batch_size
这里怎么还传入了batch_size
| use_iou_aware_loss=False, | ||
| iou_aware_factor=0.4, | ||
| use_drop_block=False, | ||
| use_dcn_v2=False, | ||
| train_random_shapes=[ |
jiangjiajun
May 28, 2020
Collaborator
train_random_shapes='Deprecated'
train_random_shapes='Deprecated'
jiangjiajun
May 28, 2020
Collaborator
if train_random_shapes != "Deprecated":
raise Exception(
if train_random_shapes != "Deprecated":
raise Exception(

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

No description provided.