Dnn is a future-proof CMS that adapts to change. Please use this tag to ask questions about dnn module development. MVC and SPA module
Questions tagged [dnn-module]
103 questions
9
votes
1 answer
How to generate .pbtxt file from a .pb file for dnn module in opencv?
I have a custom tensorflow model .pb file. I want to import that in OpenCV using the dnn module. dnn module function requires 2 parameters: .pb file and .pbtxt file? How can I generate .pbtxt file from the .pb file?
cvNet =…
![](../../users/profiles/11633348.webp)
hgarg
- 99
- 2
4
votes
1 answer
Tiny yolo v4 dnn module opencv no detection
I'have trained yolo-tiny-v4 on colab and the detection works well on colab.
Then I've tried to load the yolo-tiny-v4 in this way on visual studio integrated with Gazebo/ROS:
No error appears, but the detection fails (no object detected, the output…
![](../../users/profiles/8868844.webp)
Flavio Torre
- 61
- 5
3
votes
2 answers
Difference between ModuleID and ModuleUniqueID in DNN
I'm using the ModuleController class to copy modules to specific pages. I noticed that there are GetModule methods which take ModuleID as an argument and then there's GetModuleByUniqueID.
What's the difference between ModuleID and ModuleUniqueID?…
![](../../users/profiles/392591.webp)
Jacques
- 6,062
- 7
- 37
- 94
2
votes
1 answer
Why ONNX model reading is failing?
I'm working on model inference using opencv cuda dnn module. While reading my onnx file using cv::dnn:: readNetFromONNX, I'm getting below message.
Opencv(4.4.0-dev) Error: Unspecified error (> (expected:
'shape.depth() == CV_32S') where…
![](../../users/profiles/7639638.webp)
eLtronicsvilla
- 33
- 5
2
votes
1 answer
Couldn't display YOLO result via OpenCV dnn module
I'm trying to train YOLO object detection via darknet(AlexeyAB or pjreddie) and it was great for showing object via
./darknet detector test cfg/obj.data cfg/yolo-obj.cfg yolo.weights data/test.jpg
I used 160*30 images for training and testing. Also…
![](../../users/profiles/8185618.webp)
BarzanHayati
- 350
- 4
- 18
2
votes
0 answers
ExponentialDecay is in a different graph with embedding weight
Building a model with exponential decay and started to train the model. However, received the error
Tensor("ExponentialDecay:0", shape=(), dtype=float32)
must be from the same graph as Tensor("dnn/.../embedding_weights/...", ...)
Looks like the…
![](../../users/profiles/10398970.webp)
Clarence
- 21
- 1
2
votes
2 answers
DNN Error after creating a module
I was given a project for maintenance, it is built on DNN 9.1.1 and has some custom modules (I am completely new to DNN). I needed to create a new module, so I used the christoc project templates for VS2017. So even before I could develop anything,…
![](../../users/profiles/5559931.webp)
Pedro Henrique
- 83
- 8
2
votes
2 answers
Custom module with possibility to add modules into module to create an expander module in DNN 9.2
I'm using DNN 9.2 and searching for a possibility to create an own module that will work like the Atlassian Confluence's Expander Macro where I could add additional content.
In my case I want to add other modules, which will be visible if the…
![](../../users/profiles/8330148.webp)
ChW
- 2,649
- 1
- 16
- 32
2
votes
1 answer
How to use predict_proba for DNNClassifier in tensorflow?
How to use predict_proba for DNNClassifier in tensorflow 1.5? I am using the code below. I believe, that the command to get the probability instead of the exact result class, may have changed as compared to previous tensorflow versions.…
![](../../users/profiles/5797823.webp)
Abhisek Roy
- 562
- 9
- 28
1
vote
1 answer
How can I change path for packages folder for MsBuildTasks in module FormAndList (aka UserDefinedTable)?
I'm trying to make DNN module FormAndList (aka UserDefinedTable) to compile while I included it's project into solution, which is placed in different directory (3 folders up). And I edited MSBuild.Community.Tasks.Targets file so that it would find…
![](../../users/profiles/7402089.webp)
Constantine Ketskalo
- 324
- 3
- 13
1
vote
2 answers
HTML/CSS making column width 100%
I have this problem when I make columns using col-sm-12 and add a col-lg-3 and col-sm-9 inside the column of 12, when the col-lg-3 does not have content, col-sm-9 does not take 100% width of the container.
![](../../users/profiles/13530351.webp)
andy
- 17
- 5
1
vote
1 answer
DNN UrlRewrite ("DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules") does not run custom rewrite rule on web.config
On our DNN site hosted in an Azure app service, we have the following custom rule set on our web.config:
…
![](../../users/profiles/2155668.webp)
Malcolm Salvador
- 1,384
- 1
- 17
- 34
1
vote
0 answers
OpenCV dnn exception SSD Mobilenetv2
Using transfer learning, I trained SSD MobileNetV2 (ssd_mobilenet_v2_coco.config) model in TensorFlow (tensorflow-gpu==1.15.0). After freezing the graph (.pb) using TensorFlow API Python script (export_inference_graph.py), I created a text graph…
![](../../users/profiles/13118979.webp)
turing
- 11
- 1
1
vote
2 answers
Inserting value to DB
I am new to DNN and .NEt in general so I probably made many mistakes here. My goal is to have a DNN module where you can upload an image with title and description - I did that by properly modifying the template module, using the item…
![](../../users/profiles/5882805.webp)
mheonyae
- 369
- 2
- 5
- 19
1
vote
1 answer
Memory Leak in DNN 9 MVC modules
We are getting a memory leak on an azure app service running a DNN front end website containing predominantly WebForm but also some MVC modules.
I ran a memory dump through dotMemory and found that by far the largest retained size was taken up by…
![](../../users/profiles/12255576.webp)
S4vrs3nC0de
- 15
- 3