-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not found headers/losses.yaml in reproduce SKD config #26
Comments
seem the default loss dont work, would you forget to upload it ? 2021-11-16 02:17:36,417 [INFO] core.trainer: {'data_root': '/media/xaserver/DATA/xxx/Datasets/miniImageNet', 'image_size': 84, 'use_memory': False, 'augment': True, 'augment_times': 5, 'augment_times_query': 1, 'device_ids': 2, 'n_gpu': 1, 'seed': 0, 'deterministic': True, 'log_name': None, 'log_level': 'info', 'log_interval': 100, 'log_paramerter': False, 'result_root': './results', 'save_interval': 10, 'save_part': ['emb_func', 'cls_classifier', 'rot_classifier'], 'tag': None, 'epoch': 100, 'test_epoch': 5, 'parallel_part': ['emb_func', 'cls_classifier', 'rot_classifier'], 'pretrain_path': None, 'resume': False, 'way_num': 5, 'shot_num': 1, 'query_num': 15, 'test_way': 5, 'test_shot': 1, 'test_query': 15, 'episode_size': 1, 'train_episode': 1000, 'test_episode': 600, 'batch_size': 16, 'optimizer': {'kwargs': {'lr': 0.00025, 'momentum': 0.9, 'weight_decay': 0.0005}, 'name': 'SGD', 'other': {'emb_func': 0.05}}, 'lr_scheduler': {'kwargs': {'T_max': 100, 'eta_min': 0}, 'name': 'CosineAnnealingLR'}, 'includes': ['headers/data.yaml', 'headers/device.yaml', 'headers/misc.yaml', 'headers/model.yaml', 'headers/optimizer.yaml', 'classifiers/SKD.yaml', 'backbones/resnet18.yaml'], 'backbone': {'kwargs': {'avg_pool': True, 'is_feature': False, 'is_flatten': True}, 'name': 'resnet18'}, 'classifier': {'kwargs': {'alpha': 0.1, 'feat_dim': 512, 'gamma': 1.0, 'is_distill': True, 'num_class': 64}, 'name': 'SKDModel'}, 'loss': {'kwargs': None, 'name': 'CrossEntropyLoss'}, 'tb_scale': 1.6666666666666667, 'use_loss_yaml': True} Parameter Group 1 |
|
For SKD, if you turn |
happy to see the new config file in reproduce folder but the losses.yaml file in ./config/headers/losses.yaml seems loss in SKD config file
The text was updated successfully, but these errors were encountered: