Tensorflow functions to call
Closed this issue · 3 comments
I can see the files in the folders that are for compiling and quantizing tensorflow but not able to use them because I can't see the functions inside them. Any documentation support available?
If not please tell me how to solve the error below.
from __future__ import print_function
import os,sys
# Bring in Xilinx ML-Suite Compiler
from xfdnn.tools.compile.bin.xfdnn_compiler_tensorflow import TensorflowFrontend as xfdnnCompiler
Error:
File "/home/saumya/ml-suite/xfdnn/tools/compile/bin/xfdnn_compiler_tensorflow.py", line 1
��
^
SyntaxError: Non-ASCII character '\xf3' in file /home/saumya/ml-suite/xfdnn/tools/compile/bin/xfdnn_compiler_tensorflow.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
As I can't see the file because .pyc files are provided and not py.
@wilderfield I tried that fix but it didn't fix the error.
Edit: I gave it another try, I was looking at some other encoding.
In case you personally have access to the python code, what am I supposed to import from the file? because I replaced Caffe with Tensorflow, but that isn't the answer.
I checked the notebook labelled 'image_classification_tensorflow' to understand the tensorflow related information. I will close the issue. Thank you!