Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nmsdk
rdk
Commits
90232f672f72
Commit
c0a8c7f6
authored
Apr 22, 2021
by
vlad_burin
Browse files
Deployer updated
--HG-- branch : StandaloneRun
parent
898f317ffe2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Core/Application/Qt/UProjectDeployerQt.cpp
View file @
90232f67
...
...
@@ -1248,6 +1248,7 @@ UProjectDeployerQt::UProjectDeployerQt(void):
classification
.
LibClassCountTagName
=
"NumClasses"
;
file_tags
[
"TPyUBitmapClassifier"
]
=
classification
;
component_classes
.
push_back
(
"TPyUBitmapClassifier"
);
MLlibDescr
sq_det
;
sq_det
.
LibName
=
"TPyObjectDetectorSqueezeDet"
;
sq_det
.
LibConfigFileTagName
=
"ConfigPath"
;
...
...
@@ -1256,6 +1257,7 @@ UProjectDeployerQt::UProjectDeployerQt(void):
sq_det
.
LibClassCountTagName
=
""
;
file_tags
[
"TPyObjectDetectorSqueezeDet"
]
=
sq_det
;
component_classes
.
push_back
(
"TPyObjectDetectorSqueezeDet"
);
MLlibDescr
det_yolo
;
det_yolo
.
LibName
=
"TPyObjectDetector"
;
det_yolo
.
LibConfigFileTagName
=
"ConfigPathYOLO"
;
...
...
@@ -1264,6 +1266,7 @@ UProjectDeployerQt::UProjectDeployerQt(void):
det_yolo
.
LibClassCountTagName
=
""
;
file_tags
[
"TPyObjectDetector"
]
=
det_yolo
;
component_classes
.
push_back
(
"TPyObjectDetector"
);
MLlibDescr
protobuf
;
protobuf
.
LibName
=
"TPySegmentatorProtobuf"
;
protobuf
.
LibConfigFileTagName
=
"JSONPath"
;
...
...
@@ -1272,6 +1275,7 @@ UProjectDeployerQt::UProjectDeployerQt(void):
protobuf
.
LibClassCountTagName
=
""
;
file_tags
[
"TPySegmentatorProtobuf"
]
=
protobuf
;
component_classes
.
push_back
(
"TPySegmentatorProtobuf"
);
MLlibDescr
unet
;
unet
.
LibName
=
"TPySegmentatorUNet"
;
unet
.
LibConfigFileTagName
=
""
;
...
...
@@ -1280,6 +1284,7 @@ UProjectDeployerQt::UProjectDeployerQt(void):
unet
.
LibClassCountTagName
=
""
;
file_tags
[
"TPySegmentatorUNet"
]
=
unet
;
component_classes
.
push_back
(
"TPySegmentatorUNet"
);
MLlibDescr
classifier_opencv
;
classifier_opencv
.
LibName
=
"UOpenCvClassifier"
;
classifier_opencv
.
LibConfigFileTagName
=
""
;
...
...
@@ -1288,6 +1293,7 @@ UProjectDeployerQt::UProjectDeployerQt(void):
classifier_opencv
.
LibClassCountTagName
=
"NumClasses"
;
file_tags
[
"UOpenCvClassifier"
]
=
classifier_opencv
;
component_classes
.
push_back
(
"UOpenCvClassifier"
);
MLlibDescr
detector_opencv
;
detector_opencv
.
LibName
=
"UOpenCvDetector"
;
detector_opencv
.
LibConfigFileTagName
=
"ConfigPath"
;
...
...
@@ -1295,8 +1301,8 @@ UProjectDeployerQt::UProjectDeployerQt(void):
detector_opencv
.
LibWeightFileTagName
=
"ModelPath"
;
detector_opencv
.
LibClassCountTagName
=
""
;
file_tags
[
"UOpenCvDetector"
]
=
detector_opencv
;
/*
component_classes
.
push_back
(
"UOpenCvDetector"
);
MLlibDescr
classification_tester
;
detector_opencv
.
LibName
=
"TPyPredictSort"
;
detector_opencv
.
LibConfigFileTagName
=
"ConfigPath"
;
...
...
@@ -1305,7 +1311,7 @@ UProjectDeployerQt::UProjectDeployerQt(void):
detector_opencv
.
LibClassCountTagName
=
""
;
file_tags
[
"TPyPredictSort"
]
=
classification_tester
;
component_classes
.
push_back
(
"TPyPredictSort"
);
*/
CaptureLibDescr
opencv_videocapture
;
opencv_videocapture
.
LibName
=
"TCaptureOpenCV"
;
...
...
@@ -1999,6 +2005,10 @@ int UProjectDeployerQt::CopyProjectToTempFolder()
qDebug
()
<<
"abs_ttp = "
<<
abs_ttp
;
QDir
(
pdpath
).
removeRecursively
();
QDir
().
mkdir
(
pdpath
);
QFileInfo
fi
(
abs_ttp
);
QDir
src_dir
(
fi
.
absoluteDir
());
QStringList
files_dirs
=
src_dir
.
entryList
(
QDir
::
Filter
::
NoDotAndDotDot
|
QDir
::
Filter
::
Files
);
...
...
Write
Preview
Supports
Markdown
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