Skip to content

Commit

Permalink
update 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jm12138 committed Mar 31, 2021
1 parent e24dc51 commit 1eb0c25
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A PaddlePaddle version image model zoo.
* Install by pip:

```shell
$ pip install ppim==1.0.1 -i https://pypi.python.org/pypi
$ pip install ppim==1.0.3 -i https://pypi.python.org/pypi
```
* Install by wheel package:[【Releases Packages】](https://github.com/AgentMaker/Paddle-Image-Models/releases)

Expand Down
8 changes: 4 additions & 4 deletions ppim/models/rednet.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
}


class involution(nn.Layer):
class Involution(nn.Layer):
def __init__(self,
channels,
kernel_size,
stride):
super(involution, self).__init__()
super(Involution, self).__init__()
self.kernel_size = kernel_size
self.stride = stride
self.channels = channels
Expand Down Expand Up @@ -88,7 +88,7 @@ def __init__(self,
super(BottleneckBlock, self).__init__(inplanes, planes, stride,
downsample, groups, base_width, dilation, norm_layer)
width = int(planes * (base_width / 64.)) * groups
self.conv2 = involution(width, 7, stride)
self.conv2 = Involution(width, 7, stride)


class RedNet(resnet.ResNet):
Expand Down Expand Up @@ -122,7 +122,7 @@ def __init__(self, block, depth, num_classes=1000, with_pool=True):
('bn', nn.BatchNorm2D(self.inplanes // 2)),
('activate', nn.ReLU())
),
involution(self.inplanes // 2, 3, 1),
Involution(self.inplanes // 2, 3, 1),
nn.BatchNorm2D(self.inplanes // 2),
nn.ReLU(),
nn.Sequential(
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup
setup(
name='ppim',
version='1.0.1',
version='1.0.3',
author='jm12138',
author_email='2286040843@qq.com',
packages=['ppim', 'ppim.models', 'ppim.units'],
Expand Down

0 comments on commit 1eb0c25

Please # to comment.