You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 7, 2021. It is now read-only.
Thanks again for your great work!
I'm now trying to Inference multiple images without recreate FPGA handles or ExecData in ml-suite/xfdnn/rt/xdnn.py, so I change the script ml-suite/examples/classification/test_classify.py to something like this
I check fcWeight if it is None or not since there are some models that do not have fc (which is instead implemented by Conv layer).
Then use commad ./run.sh aws test_classify large 8 to run the program.
However, the for loop which run 300 iterations crashed at 256th iteration, at line xdnn.execute(), which seems that a uint8 resource isn't freed after use, and generate the error message:
Then I look into ml-suite/xfdnn/rt/xdnn.py, it crash at last line of function self.execution, namely self._lib.XDNNExecute(execData._executor, inputs, outputPtr, numFpgaBatches, blocking)
, however I have no access to the source code of the dynamic linked library...
Could you please help me with this?
Or, if possible, publish source code of the library ml-suite/xfdnn/rt/xdnn_cpp/lib/libxfdnn.so please.
Thank you!
The text was updated successfully, but these errors were encountered:
b04902036
changed the title
Thanks again for your great work!
Inference multiple images
Aug 3, 2018
Thanks again for your great work!
I'm now trying to Inference multiple images without recreate FPGA handles or ExecData in
ml-suite/xfdnn/rt/xdnn.py
, so I change the scriptml-suite/examples/classification/test_classify.py
to something like thisI check fcWeight if it is None or not since there are some models that do not have fc (which is instead implemented by Conv layer).
Then use commad
./run.sh aws test_classify large 8
to run the program.However, the for loop which run 300 iterations crashed at 256th iteration, at line
xdnn.execute()
, which seems that a uint8 resource isn't freed after use, and generate the error message:Then I look into
ml-suite/xfdnn/rt/xdnn.py
, it crash at last line of functionself.execution
, namelyself._lib.XDNNExecute(execData._executor, inputs, outputPtr, numFpgaBatches, blocking)
, however I have no access to the source code of the dynamic linked library...
Could you please help me with this?
Or, if possible, publish source code of the library
ml-suite/xfdnn/rt/xdnn_cpp/lib/libxfdnn.so
please.Thank you!
The text was updated successfully, but these errors were encountered: