Xilinx / CHaiDNN

HLS based Deep Neural Network Accelerator Library for Xilinx Ultrascale+ MPSoCs
Other
323 stars 152 forks source link

Failed to create memory when multiple networks were initialized with CHaiDNN #133

Open xiaoxianGuo opened 5 years ago

xiaoxianGuo commented 5 years ago

Hi! I want to initialize multiple networks with CHaiDNN's xiInit () on Zynq UltraScale+MPSoC ZCU102 platform, and when I initialize a second network, an error is reported:"Failed to create memory!", I wander If CHaiDNN initializes the network by allocating space to DDR, why is there not enough memory?

NeutrinoXY commented 5 years ago

Why do you want to initialize multiple networks?

gitosu67 commented 4 years ago

@NeutrinoXY I am getting the same error when I try to create another chaihandle by calling the xiInit() function. For example for vgg-16, I do: chaihandle1 -> start="", end="pool5" chaihandle2 ->start="fc6", end="drop7" chaihandle3 ->start="fc8", end="prob".

I am doing this to test certain things but I get OOM error every time. Is there any way to fix this?