You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

sun397.py 385 B

3 years ago
1234567891011
  1. import flowvision
  2. import os
  3. class SUN397(flowvision.datasets.ImageFolder):
  4. def __init__(self, root, split='train'):
  5. self.split = split
  6. self.num_classes = 397
  7. path = os.path.join(root, 'train') if self.split=='train' else os.path.join(root, 'test')
  8. super().__init__(path)
  9. print('SUN397, Split: %s, Size: %d' % (self.split, len(self.imgs)))

模型炼知是由浙江大学VIPA团队于2019-2020年期间提出,其目的是建立轻量化的知识融合算法和解决深度模型迁移性度量问题。 本仓库包含TTL、THL、TFL三个模型炼知示例算法,用于计算机视觉领域,通过将多个同构或异构教师重组,实现知识融合,获得定制化的、全能型的学生模型,解决所有教师任务,学生模型性能相比于传统训练结果显著提高。因此,模型炼知具有深入研究和实际应用价值。

Contributors (1)