初めて投稿いたします。
nngen に興味があり,https://www.acri.c.titech.ac.jp/wordpress/archives/8008 ページを参考に実装してみました。
その際,ip = ng.nngen_ip(overlay, ipname)
にて
「
—————————————————————————
AttributeError Traceback (most recent call last)
<ipython-input-21-406c90108a51> in <module>()
—-> 1 ip = ng.nngen_ip(overlay, ipname)
/home/xilinx/jupyter_notebooks/vgg11/nngen_ctrl.py in nngen_ip(overlay, name)
21 “””
22
—> 23 ip = getattr(overlay, name)
24 ip = NNgenIP(ip)
25
/usr/local/lib/python3.6/dist-packages/pynq/overlay.py in __getattr__(self, key)
365 “””
366 if self.is_loaded():
–> 367 return getattr(self._ip_map, key)
368 else:
369 raise RuntimeError(“Overlay not currently loaded”)
/usr/local/lib/python3.6/dist-packages/pynq/overlay.py in __getattr__(self, key)
930 else:
931 raise AttributeError(
–> 932 “Could not find IP or hierarchy {} in overlay”.format(key))
933
934 def _keys(self):
AttributeError: Could not find IP or hierarchy vgg11_0 in overlay」
のようなエラーが出力されました。対象法などご存じの方はおられませんか?
環境
– nngen : 1.3.0
– pynq : 2.6.0
– board : ZCU102, Zynq UltraScale+