If I run the following code from jupyter notebook it takes exactly 1min47 sec to execute:
from ipywidgets import Button, FloatSlider import ipywidgets as widget import cv2 import jupyter_ui_poll from pynq import Overlay, MMIO, allocate from pynq.lib.video import * import time import pynq.lib as lib import cffi pynq.lib.iic.AxiIIC import numpy as np from fxpmath import Fxp from math import radians overlay = Overlay('processing_pipeline.bit') print('bitstream downloaded')
also even with Overlay’s download=False argument, it takes a similar time.
But if open a terminal from jupyter environment or use putty and execute this code as a python file it takes less than 5 seconds. Is it usual behavior?