Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.learn.pytorch
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
bob
bob.learn.pytorch
Commits
7ebd5ae4
Commit
7ebd5ae4
authored
6 years ago
by
Anjith GEORGE
Browse files
Options
Downloads
Patches
Plain Diff
Changed to logging
parent
f4c8b539
No related branches found
No related tags found
1 merge request
!17
Mccn extended
Pipeline
#26566
failed
6 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/learn/pytorch/architectures/MCCNN.py
+5
-3
5 additions, 3 deletions
bob/learn/pytorch/architectures/MCCNN.py
with
5 additions
and
3 deletions
bob/learn/pytorch/architectures/MCCNN.py
+
5
−
3
View file @
7ebd5ae4
...
...
@@ -17,8 +17,8 @@ from .utils import MaxFeatureMap
from
.utils
import
group
from
.utils
import
resblock
import
bob.core
logger
=
bob
.
core
.
log
.
setup
(
"
bob.learn.pytorch
"
)
import
logging
logger
=
logging
.
getLogger
(
"
bob.learn.pytorch
"
)
...
...
@@ -51,6 +51,8 @@ class MCCNN(nn.Module):
num_channels: int
The number of channels present in the input
verbosity_level: int
Verbosity level.
"""
super
(
MCCNN
,
self
).
__init__
()
...
...
@@ -59,7 +61,7 @@ class MCCNN(nn.Module):
self
.
lcnn_layers
=
[
'
conv1
'
,
'
block1
'
,
'
group1
'
,
'
block2
'
,
'
group2
'
,
'
block3
'
,
'
group3
'
,
'
block4
'
,
'
group4
'
,
'
fc
'
]
bob
.
core
.
log
.
set_verbosity_l
evel
(
logger
,
verbosity_level
)
logger
.
setL
evel
(
logger
,
verbosity_level
)
self
.
pool1
=
nn
.
MaxPool2d
(
kernel_size
=
2
,
stride
=
2
,
ceil_mode
=
True
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment