Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
ツール/GitHubGitHub/jiamingzhang94/unlearnable-clusters
機械学習論文と研究AIセキュリティ敵対的攻撃
GitHubjiamingzhang94/unlearnable-clusters

Unlearnable-Clusters

CVPR2023: 学習不能クラスタ: ラベル非依存の学習不能例に向けて

リポジトリを見る
2223年前Kitploit レビュー済み

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有

Unlearnable Clusters: ラベル非依存の学習不可能なサンプルを目指して

Unlearnable Clusters: ラベル非依存の学習不可能なサンプルを目指して に関するコード、CVPR2023。

前処理

まず、preprocess.py を実行してデータセットディレクトリをリネームします。

root@kitploit:~
python preprocess.py --config config/preprocess.yaml -f rename

K-means 初期化

次に、preprocess.py を実行して K-means 初期化を行います。

root@kitploit:~
python preprocess.py --config config/preprocess.yaml -f cluster_pets_rn50_cluster10
# the cluster file will be stored in {output_dir}/{dataset}_{surrogate_model}_cluster{num_clusters}.pth
# e.g., output/cluster/pets_rn50_cluster10.pth

クラスタ単位の摂動と対応するUEの生成

3番目に、main.py --stage 1 を実行してクラスタ単位の摂動を生成します。

root@kitploit:~
python main.py --config config/stage_1.yaml -e {experiment} --stage 1 
# {experiment} is uc_{dataset}_{surrogate_model}
# e.g., python main.py --config config/stage_1.yaml -e uc_pets_cliprn50 --stage 1

ターゲットモデルの学習

最後に、main.py --stage 2 を実行してターゲットモデルを学習します。

root@kitploit:~
python main.py --config config/stage_2.yaml -e {experiment} --stage 2 
# {experiment} is uc_{dataset}_{surrogate_model}_{target_model}
# e.g., python main.py --config config/stage_2.yaml -e uc_pets_rn50_rn18 --stage 2

引用

このコードが研究に役立つ場合は、引用をご検討ください。

root@kitploit:~
@inproceedings{zhang2023unlearnable,
  title={Unlearnable Clusters: Towards Label-agnostic Unlearnable Examples},
  author={Jiaming Zhang, Xingjun Ma, Qi Yi, Jitao Sang, Yu-Gang Jiang, Yaowei Wang, Changsheng Xu},
  booktitle="Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition",
  year={2023}
}
ツールをダウンロード