Skip to content

Commit 656757d

Browse files
committed
Fix MobileNetV2 head conv size for multiplier < 1.0. Add some missing modification copyrights, fix starting date of some old ones.
1 parent ccfeb06 commit 656757d

24 files changed

+35
-22
lines changed

timm/data/auto_augment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
RandAugment: Practical automated data augmentation... - https://arxiv.org/abs/1909.13719
1616
AugMix: A Simple Data Processing Method to Improve Robustness and Uncertainty - https://arxiv.org/abs/1912.02781
1717
18-
Hacked together by / Copyright 2020 Ross Wightman
18+
Hacked together by / Copyright 2019, Ross Wightman
1919
"""
2020
import random
2121
import math

timm/data/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
""" Quick n Simple Image Folder, Tarfile based DataSet
22
3-
Hacked together by / Copyright 2020 Ross Wightman
3+
Hacked together by / Copyright 2019, Ross Wightman
44
"""
55
import torch.utils.data as data
66
import os

timm/data/dataset_factory.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
""" Dataset Factory
2+
3+
Hacked together by / Copyright 2021, Ross Wightman
4+
"""
15
import os
26

37
from torchvision.datasets import CIFAR100, CIFAR10, MNIST, QMNIST, KMNIST, FashionMNIST, ImageNet, ImageFolder

timm/data/loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Prefetcher and Fast Collate inspired by NVIDIA APEX example at
44
https://github.com/NVIDIA/apex/commit/d5e2bb4bdeedd27b1dfaf5bb2b24d6c000dee9be#diff-cf86c282ff7fba81fad27a559379d5bf
55
6-
Hacked together by / Copyright 2021 Ross Wightman
6+
Hacked together by / Copyright 2019, Ross Wightman
77
"""
88
import random
99
from functools import partial

timm/data/mixup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Code Reference:
99
CutMix: https://github.com/clovaai/CutMix-PyTorch
1010
11-
Hacked together by / Copyright 2020 Ross Wightman
11+
Hacked together by / Copyright 2019, Ross Wightman
1212
"""
1313
import numpy as np
1414
import torch

timm/data/random_erasing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Originally inspired by impl at https://github.com/zhunzhong07/Random-Erasing, Apache 2.0
44
Copyright Zhun Zhong & Liang Zheng
55
6-
Hacked together by / Copyright 2020 Ross Wightman
6+
Hacked together by / Copyright 2019, Ross Wightman
77
"""
88
import random
99
import math

timm/data/transforms_factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
""" Transforms Factory
22
Factory methods for building image transforms for use with TIMM (PyTorch Image Models)
33
4-
Hacked together by / Copyright 2020 Ross Wightman
4+
Hacked together by / Copyright 2019, Ross Wightman
55
"""
66
import math
77

timm/models/cait.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
55
Original code and weights from https://github.com/facebookresearch/deit, copyright below
66
7+
Modifications and additions for timm hacked together by / Copyright 2021, Ross Wightman
78
"""
89
# Copyright (c) 2015-present, Facebook, Inc.
910
# All rights reserved.

timm/models/convit.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
1010
Paper link: https://arxiv.org/abs/2103.10697
1111
Original code: https://github.com/facebookresearch/convit, original copyright below
12+
13+
Modifications and additions for timm hacked together by / Copyright 2021, Ross Wightman
1214
"""
1315
# Copyright (c) 2015-present, Facebook, Inc.
1416
# All rights reserved.

timm/models/crossvit.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
Original code: https://github.com/IBM/CrossViT/blob/main/models/crossvit.py
1313
1414
NOTE: model names have been renamed from originals to represent actual input res all *_224 -> *_240 and *_384 -> *_408
15+
16+
Modifications and additions for timm hacked together by / Copyright 2021, Ross Wightman
1517
"""
1618

1719
# Copyright IBM All Rights Reserved.

0 commit comments

Comments
 (0)