- Setup
- Check the accuracy of original Tensorflow model
- Check the accuracy of OpenVino FP32 IR
- Check the accuracy of OpenVino INT8 IR
- Use POT for accuracy aware quantization
- Install OpenVINO
| # Question source: https://tw.news.yahoo.com/%E5%90%B3%E6%B7%A1%E5%A6%82%E6%9B%AC%E5%A5%B3%E5%85%92%E5%9C%8B-%E6%95%B8%E5%AD%B8%E8%80%83%E9%A1%8C-%E9%99%84%E4%B8%AD%E7%88%B8%E7%9C%8B%E5%AE%8C%E4%B8%8D%E6%83%B3%E8%A7%A3%E7%AD%94-%E5%B0%8F%E5%AD%A9%E9%80%A3%E9%A1%8C%E7%9B%AE%E9%83%BD%E7%9C%8B%E4%B8%8D%E6%87%82-050445949.html | |
| from itertools import product | |
| def validate_rule(mp,fp,mn,fn): | |
| return (mp+fp)<(mn+fn) and mp>mn and mn>fn and fp>0 | |
| def solution(): | |
| for [mp,fp,mn,fn] in product( *[range(0,17)] * 4): | |
| if (mp+fp+mn+fn)!=16: continue | |
| #print(f"{mp} {fp} {mn} {fn}") |
based on official qlogic adapter user guide
QCScli.C:\Program Files\QLogic Corporation\QCSR>QCScli.exe -t phyports -f bdf -i 01:00.00 "bootcfg -t MBA -o show"
| #正經八百 | |
| def uniqnum( num): | |
| digits=[] | |
| while num>0: | |
| r = num % 10 | |
| if r in digits: | |
| return False | |
| digits.append(r) | |
| num = num // 10 | |
| return True |
| * Vochie -- cloud-based interactive karaoke service | |
| - A social singing platform. Users can sing and share their recreation with others. | |
| - provides extensive streaming APIs for third-party integration. Successeful apps published on AppleTV, Roku platforms. (有連結會更有說服力) | |
| * KaraX(要取個名字) -- Professional Karaoke Machine solution | |
| - First RISC based full-function karaoke machine solution supporting all main stream song formats(MV, MP3/LRC, MID). | |
| - In-house developed high-accurate AV synchronization technology. Multiple media sources including HD video, multi-track audio, user recordings and lyric could be simultaneously played back with little latency. | |
| - Intuitive and user-friendly on-screen UI. |
| import random, time | |
| from randcrack import RandCrack | |
| import string | |
| random_id_characters = string.ascii_letters + string.digits | |
| random.seed(time.time()) | |
| rc = RandCrack() | |
| for i in range(624): |
https://zhuanlan.zhihu.com/p/33324744
https://www.zhihu.com/question/322228254/answer/667226755