Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
Welspun-Classification
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dasharatha.vamshi
Welspun-Classification
Commits
25b9f75a
Commit
25b9f75a
authored
Feb 12, 2021
by
dasharatha.vamshi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
good sample to no defect
parent
dc572c36
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
scripts/welspun_classifier.py
scripts/welspun_classifier.py
+1
-1
No files found.
scripts/welspun_classifier.py
View file @
25b9f75a
...
@@ -43,7 +43,7 @@ class Welspun_Classifier(ModelWrapper):
...
@@ -43,7 +43,7 @@ class Welspun_Classifier(ModelWrapper):
# open-vino
# open-vino
self
.
sink_layer
=
{
'0'
:
'conv2d_58/BiasAdd/Add'
,
'1'
:
'conv2d_66/BiasAdd/Add'
,
'2'
:
'conv2d_74/BiasAdd/Add'
}
self
.
sink_layer
=
{
'0'
:
'conv2d_58/BiasAdd/Add'
,
'1'
:
'conv2d_66/BiasAdd/Add'
,
'2'
:
'conv2d_74/BiasAdd/Add'
}
self
.
model_detector_pth
=
os
.
path
.
join
(
self
.
base_model_path
,
"resnet34-wel.xml"
)
self
.
model_detector_pth
=
os
.
path
.
join
(
self
.
base_model_path
,
"resnet34-wel
4
.xml"
)
self
.
model_bin
=
os
.
path
.
splitext
(
self
.
model_detector_pth
)[
0
]
+
".bin"
self
.
model_bin
=
os
.
path
.
splitext
(
self
.
model_detector_pth
)[
0
]
+
".bin"
self
.
ie
=
IECore
()
self
.
ie
=
IECore
()
self
.
net1
=
self
.
ie
.
read_network
(
model
=
self
.
model_detector_pth
,
weights
=
self
.
model_bin
)
self
.
net1
=
self
.
ie
.
read_network
(
model
=
self
.
model_detector_pth
,
weights
=
self
.
model_bin
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment