Skip to content

Cannot find dpu.bit #11

@zzzhhh2025

Description

@zzzhhh2025

Environment:

  • Kria KR260
  • Ubuntu 22.04 Desktop

I followed instructions of Section 4.2 "Use Plain Python Code", but when I run the Python application python3 app_cifar10_tf2_resnet18.py, I got an error "Cannot find dpu.bit":

(pynq-venv) root@kria:~/jupyter_notebooks/pynq-dpu/cifar10_tf2# python3 app_cifar10_tf2_resnet18.py

ResNet18 CNN (pre-trained with ImageNet Dataset) fine-tuned to CIFAR10 Dataset, in TensorFlow2

Matplotlib is building the font cache; this may take a moment.
Traceback (most recent call last):
  File "/root/jupyter_notebooks/pynq-dpu/cifar10_tf2/app_cifar10_tf2_resnet18.py", line 126, in <module>
    overlay = DpuOverlay("dpu.bit")
  File "/usr/local/share/pynq-venv/lib/python3.10/site-packages/pynq_dpu/dpu.py", line 97, in __init__
    raise FileNotFoundError('Cannot find {}.'.format(bitfile_name))
FileNotFoundError: Cannot find dpu.bit.

So, where is "dpu.bit"? The terminal log of the installation is here. Thanks for help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions