完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,
我最近推出了AWS Xilinx ML Suite(f1.2xlarge)并尝试使用thetensorflowframework在你的webminardemowithbvlc_googlenet中描述的整个循环。 我成功加载了tensorflow docker容器以及编译器阶段,但我找不到tensorflow量化的工具/脚本。 (例如,您的webminar演示包含文件classify_pb.py) 然而,我找不到有关tensforflowgraph的量化阶段的详细文档。 它与其他框架非常不同。 我错过了什么吗? 谢谢! 以上来自于谷歌翻译 以下为原文 Hello, I recently launched the AWS Xilinx ML Suite (f1.2xlarge) and tried the entire cycle as described in your webminar demo with bvlc_googlenet using the tensorflow framework. I succeeded with the loading of the tensorflow docker container as well as the compiler stage but I couldn't find the tools/script for the tensorflow quantize. (for example your webminar demo includes the file classify_pb.py) Nevertheless, I couldn't find detailed documentation for a quantize stage of a tensforflow graph. It is very much different from other frameworks. Am I missing something? Thanks! |
|
相关推荐
5个回答
|
|
嗨,
这些链接器可能有帮助 https://github.com/Xilinx/ml-suite/blob/master/docs/tutorials/quantize.md https://github.com/kamranjk/ML-Development-Stack-From-Xilinx/blob/master/quantize.md Tensorflow量化使用与caffe量化相同的quantize.pyc。 你可以在这里找到它。 https://github.com/Xilinx/ml-suite/tree/master/xfdnn/tools/quantize 以上来自于谷歌翻译 以下为原文 Hi, These linker may help. https://github.com/Xilinx/ml-suite/blob/master/docs/tutorials/quantize.md https://github.com/kamranjk/ML-Development-Stack-From-Xilinx/blob/master/quantize.md Tensorflow quantize use the same quantize .pyc as caffe quantize. You can find it here. https://github.com/Xilinx/ml-suite/tree/master/xfdnn/tools/quantize |
|
|
|
嗨,
感谢您的快速回复,但是我尝试使用您的Google Apps tensorflow .pb模型(bvlc_googlenet_without_lrn_test.pb)进行quantze.pyc,并且要求使用caffe模块: 回溯(最近一次调用最后一次):文件“./xfdnn/tools/quantize/quantize.py”,第43行,文件“./xfdnn/tools/quantize/quantize_caffe.py”,第29行,在ImportError:No module 命名为caffe 我正在尝试使用goooglenetv1测试从编译到量化到部署的整个周期,但量化阶段不起作用且文档不清楚,它面向caffe。 你能给出在tensorflow docker容器和googlenetv1中运行量化的简短脚本吗? 我已经尝试过使用quantize.pyc以及quantize_tf.pyc的各种选项,并且它没有接缝工作! 谢谢 以上来自于谷歌翻译 以下为原文 Hi, Thanks for the quick response, however I tried the quantize.pyc with your googlenet tensorflow .pb model (bvlc_googlenet_without_lrn_test.pb) and and its asks for a caffe module: Traceback (most recent call last): File "./xfdnn/tools/quantize/quantize.py", line 43, in File "./xfdnn/tools/quantize/quantize_caffe.py", line 29, in ImportError: No module named caffe I am trying to test the entire cycle from compile through quantize to deployment with goooglenetv1 but the quantize phase doesn't work and the documentation is not clear, it is geared toward caffe. Can you give the short script for running the quantize within your tensorflow docker container and googlenetv1. I have tried all kind of options with quantize.pyc as well as quantize_tf.pyc and it doesn't seams to work! Thanks |
|
|
|
嗨ap-nsg,
我的错。 请使用quantize_tf.pyc onhttps://github.com/Xilinx/ml-suite/tree/master/xfdnn/tools/quantize。 “_tf”代表Tensorflow。 所有可用的文档都在这里:http://github.com/Xilinx/ml-suite/tree/master/docs 以上来自于谷歌翻译 以下为原文 Hi ap-nsg, My fault. Please use quantize_tf.pyc on https://github.com/Xilinx/ml-suite/tree/master/xfdnn/tools/quantize. "_tf" stands for Tensorflow. All available docs is here https://github.com/Xilinx/ml-suite/tree/master/docs |
|
|
|
嗨jishuaiz,
再次感谢您的快速回复。 但是,看起来张量流量化阶段缺少某些东西。 同样,我正在使用您的GooglenetV1示例,但使用张量流来遵循量化教程的说明: 我正在和F1联系 2.导航到tensorflow docker 3.成功启动码头工作 4.在环境中导出根 5.导航到量化目录 6.使用“bvlc_googlenet.pb”模型运行quantize_tf.pyc(请注意其.pb文件)和所有类型的参数。 python代码什么都不做。 我试过不同的论点...... BTW,如原始消息中所述,具有tensorflow的示例的编译部分是成功的。 然而量化! 。 有人可以使用GooglenetV1测试您的量化示例并发布几行脚本和说明。 再次,我试图通过所有阶段测试xfdnn直到部署tensorflow和googlenetv1示例。 谢谢 以上来自于谷歌翻译 以下为原文 Hi jishuaiz, Thanks again for your quick response. However, it looks like that something is missing for the tensorflow quantize stage. Again, I am following the instruction on the Quantization tutorial using your GooglenetV1 example but with tensorflow: 1. I am connecting to F1 2. navigating to the tensorflow docker 3. starting the docker successfuly 4. exporting the root in the enviorment 5. navigating to the quantize directory 6. running the quantize_tf.pyc with a "bvlc_googlenet.pb" model (be aware its a .pb file) and all type of arguments. the python code does nothing. I have tried different arguments ... BTW, as said in the original message, The compile part of the example with tensorflow was successful. However the quantize! . Can somebody test your quantize example with GooglenetV1 and post the few line script and instructions. Again, I am trying to test the xfdnn through all stages up to deployment with tensorflow and googlenetv1 example. Thanks |
|
|
|
嗨ap-nsg
谢谢。 我会联系开发人员,稍后再回复你。 以上来自于谷歌翻译 以下为原文 Hi ap-nsg Thanks. I will contact the developer and back to you later. |
|
|
|
只有小组成员才能发言,加入小组>>
2441 浏览 7 评论
2835 浏览 4 评论
Spartan 3-AN时钟和VHDL让ISE合成时出现错误该怎么办?
2306 浏览 9 评论
3387 浏览 0 评论
如何在RTL或xilinx spartan fpga的约束文件中插入1.56ns延迟缓冲区?
2482 浏览 15 评论
有输入,但是LVDS_25的FPGA内部接收不到数据,为什么?
1688浏览 1评论
请问vc707的电源线是如何连接的,我这边可能出现了缺失元件的情况导致无法供电
616浏览 1评论
求一块XILINX开发板KC705,VC707,KC105和KCU1500
478浏览 1评论
2030浏览 0评论
757浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-1-9 21:51 , Processed in 1.277186 second(s), Total 55, Slave 49 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号