Boosting Adversarial Attacks with Momentum

CVPR2018採択論文"Boosting Adversarial Attacks with Momentum"のレビュー. 元論文はこちら 既存のAdversarial Attacksの手法にモーメンタムの概念を導入して,攻撃性能とtransferabilityの両立を達成. 同時に,攻撃手法のアンサンブル化によって複数モデ…

Facebookの可視化ツールVisdomを色々試す

visdomはFacebook AI Researchが公開しているオープンソースの可視化ライブラリ,Torchとnumpyに対応している. GitHub repo Visdom aims to facilitate visualization of (remote) data with an emphasis on supporting scientific experimentation. (adsby…

Practical Black-Box Attacks against Machine Learning

ニューラルネットワークのアーキテクチャおよび勾配情報なしに攻撃を行うBlack-Box Adversarial Attackについての論文. Adversarial Attackについての概要とPyTorchを用いた実装については以下の記事を参照. noconocolib.hatenablog.com 概要 paper link W…

PyTorchの便利な周辺ライブラリまとめ

PyTorchの便利な周辺ライブラリのメモ. CV系 NLP Audio 確率的プログラミング 可視化 その他 チュートリアル,入門など (adsbygoogle = window.adsbygoogle || []).push({}); CV系 torchvision: コンピュータビジョンで便利なtransforms, モデル,データセ…

Library not loaded: libmklml.dylib use c++ front

Mac OSでPyTorchのC++ APIのコードを実行しようとすると以下のエラーが出る. dyld: Library not loaded: @rpath/libmklml.dylib Referenced from: /Users/hzq/Documents/www/test/libtorch/lib/libcaffe2.dylib Reason: image not found Abort trap: 6 libm…

PyTorchでKerasのmodel.summary()みたいなやつ

pytorch-summaryを使うとKerasのmodel.summary()のようにモデルの表示ができる. GitHub repo Keras has a neat API to view the visualization of the model which is very helpful while debugging your network. Here is a barebone code to try and mimi…

TensorFlow推奨のデータ形式TFRecordを使う

概要 Tensorflow推奨のデータ形式.あらかじめ画像などをTFRecord形式で吐いておくとかなり効率的に学習・推論ができる. コンバータも簡単に書けるのでおすすめ.変換速度もまあまあ速い. 使い方 Convert Images to TFRecord def convert(data_root): image…