UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor jacobzobbe
Visitor
291 Views
Registered: ‎03-01-2019

Keras compiler

Hallo, Im trying to run a Keras model on the U200, but when I try to compile it in Ml-suite I keep getting the error:

__init__() takes at least 2 arguments (1 given)

 

the compiler arguments im using are: 

# Compiler Arguments
config["model"] = "../home/jz/ml-suite/DogAndCatFPGA.model"
config["fpgacommands"] = "work/fpga.cmds" #compiler will generate FPGA instructions
config["memory"] = 5 # Available on-chip SRAM
config["dsp"] = 56 # Width of Systolic Array

compiler = xfdnnCompiler(
verbose=False,
networkfile=config["model"], # Prototxt filename: input file
#anew=config["outmodel"], # Filename for optimized prototxt/caffemodel
generatefile=config["fpgacommands"], # Script filename: output file
memory=config["memory"], # Available on chip SRAM within xclbin
dsp=config["dsp"] # Rows in DSP systolic array within xclbin
)

At this point any help would be greatly appreciated

0 Kudos