- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The caffe prototxt as follows:
layer {
name: "seg_out"
type: "Reshape"
bottom: "score"
top: "seg_out"
reshape_param {
shape {
dim: 1
dim: 2
dim: 300
dim: 300
}
}
}
layer {
name: "seg_out_reshape"
type: "Reshape"
bottom: "seg_out"
top: "seg_out_reshape"
reshape_param {
shape {
dim: 1
dim: -1
dim: 1
dim: 1
}
}
}
when I use NCSDK V2 and mvNCCompile to reshape the seg_out tensor[1, 2, 300, 300] to [1, -1, 1, 1]
it occurs:
…..
_Blob generated
USB: Transferring Data…
*** Error in `python3': malloc(): memory corruption: 0x00007f18f9ab3a50 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f19f28567e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8213e)[0x7f19f286113e]_
……
As I debug the api code , it seems that happens while process the function in mvncapi.py as follows:
myriad_output, userobj = fifoOut.read_elem()
status = f.ncFifoReadElem(self.handle, byref(
tensor), byref(elementsize), byref(user_obj))
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page