Closed CestMerNeil closed 1 year ago
I am sorry to say that this is a Vivado generated problem.
To solve this problem, I refer to the following URL of AMD.
In this project, I solved the problem by modifying the first block of code in notebook 7a as follows:
from tensorflow.keras.models import load_model
from qkeras.utils import _add_supported_quantized_objects
co = {}
_add_supported_quantized_objects(co)
import os
os.environ['PATH'] = os.environ['XILINX_VIVADO'] + '/bin:' + os.environ['PATH']
os.environ['LD_PRELOAD'] = '/lib/x86_64-linux-gnu/libudev.so.1'
I am now trying to reproduce this tutorial, however I am unable to generate a bitfile and there is an error when I run the following code in part 7a
ERROR:
I am using Ubuntu and using the provided Docker image with Vivado.
Here is the log file: