-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Line 81 of the installation script install_update_kr260_to_vitisai35.sh is python code
pynq get-notebooks pynq-dpu -p . --force
When I run to this line, I got a lot of errors:
Traceback (most recent call last):
File "/usr/local/share/pynq-venv/bin/pynq-get-notebooks", line 8, in <module>
sys.exit(main())
File "/usr/local/share/pynq-venv/lib/python3.10/site-packages/pynq/_cli/get_notebooks.py", line 308, in main
raise e
File "/usr/local/share/pynq-venv/lib/python3.10/site-packages/pynq/_cli/get_notebooks.py", line 298, in main
deliver_notebooks(
File "/usr/local/share/pynq-venv/lib/python3.10/site-packages/pynqutils/setup_utils/deliver_notebooks.py", line 109, in deliver_notebooks
_resolve_overlay_res_from_link(
File "/usr/local/share/pynq-venv/lib/python3.10/site-packages/pynqutils/setup_utils/deliver_notebooks.py", line 229, in _resolve_overlay_res_from_link
_download_file(
File "/usr/local/share/pynq-venv/lib/python3.10/site-packages/pynqutils/setup_utils/deliver_notebooks.py", line 389, in _download_file
with urllib.request.urlopen(download_link) as response, \
File "/usr/lib/python3.10/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.10/urllib/request.py", line 525, in open
response = meth(req, response)
File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response
response = self.parent.error(
File "/usr/lib/python3.10/urllib/request.py", line 557, in error
result = self._call_chain(*args)
File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
result = func(*args)
File "/usr/lib/python3.10/urllib/request.py", line 749, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/lib/python3.10/urllib/request.py", line 525, in open
response = meth(req, response)
File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response
response = self.parent.error(
File "/usr/lib/python3.10/urllib/request.py", line 557, in error
result = self._call_chain(*args)
File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
result = func(*args)
File "/usr/lib/python3.10/urllib/request.py", line 749, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/lib/python3.10/urllib/request.py", line 525, in open
response = meth(req, response)
File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response
response = self.parent.error(
File "/usr/lib/python3.10/urllib/request.py", line 557, in error
result = self._call_chain(*args)
File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
result = func(*args)
File "/usr/lib/python3.10/urllib/request.py", line 749, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/lib/python3.10/urllib/request.py", line 525, in open
response = meth(req, response)
File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response
response = self.parent.error(
File "/usr/lib/python3.10/urllib/request.py", line 563, in error
return self._call_chain(*args)
File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
result = func(*args)
File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
The culprit is that the python code tries to download a mnist classifier model from URL: https://www.xilinx.com/bin/public/openDownload?filename=pynqdpu.tf2_mnist_classifier.DPUCZDX8G_ISA1_B4096.3.5.0.xmodel, at line 388 of /usr/local/share/pynq-venv/lib/python3.10/site-packages/pynqutils/setup_utils/deliver_notebooks.py. However, this URL is broken. How to fix the installation script so that I can proceed (I have changed the board to KR260 in line 38 of the installation script)? Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels