Comments (4)
The default stack size on Windows is usually smaller than Linux (typically 8MB). This could explain why the code runs fine (assume it was developed in a Linux environment) but not on my Windows machine.
I think the large local array debug
(on line 400) is likely to cause stack overflow.
Lines 395 to 402 in 007e445
As mentioned in #2 (comment), you can increase stack size to a larger value (at least a little more than 10x32x44x84 floats or ~4.5MB).
If you don't want to increase stack size, you can try modify the local array to static (static float debug[10][32][44][84];
) so it won't use stack to hold the array any more. (I'm not sure what the debug
array does but the enclosing function test_one_group
is only called once in the testbench so making it static should be safe).
from skynet.
Hi, can you try to debug using the generated executable under the build/bin dictionary to locate the exact crash point?
Best,
Cong
from skynet.
I've met the exact problem in 2019.2 Vivado HLS;Can't see any concrete error either
from skynet.
it turns out that the stack size is not large enough.
https://forums.xilinx.com/t5/Vivado/XAPP1167-%E8%87%AA%E5%B8%A6%E4%BE%8B%E7%A8%8Bremap%E5%B7%A5%E7%A8%8B-%E6%8A%A5%E9%94%99/td-p/890685
增加栈的大小。具体方式为将Vivado HLS的Project Settings-->Simulation-->Linker Flags设置为-Wl,--stack,10485670。但是需要注意的是这种方法可能会因为机器没有足够的内存而无效。
Solved.
from skynet.
Related Issues (18)
- training code HOT 8
- Puzzle of generating weights_float.bin HOT 3
- notebook deployment issue... HOT 1
- Still not self aware
- Multiple Objects Detection
- How can I train on dac sdc contest's dataset? HOT 1
- how do you weights_fixed.bin and weights_floating.bin? HOT 1
- How can it be added to mmdetection ?
- AttributeError: 'Xlnk' object has no attribute 'bufmap' HOT 1
- TimeoutError: [Errno 110] Connection timed out
- Error on loading Overlay: "Could not find the specified .tcl file" HOT 5
- SkyNet training HOT 4
- IOU is not 0.731 HOT 1
- KeyError: 'power1' HOT 2
- training skynet
- synthesis lut cost 188% of what's available in xczu9eg HOT 4
- questions about speed performance on Ultra96v2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skynet.