Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Codebase for the bachelor thesis: Membership Inference Attacks for generative models.

NotificationsYou must be signed in to change notification settings

osquera/MIA_SD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

  • CUDA 11.8
  • Python >=3.10

Installation

  1. Install CUDA 11.8 by following the official documentation provided by NVIDIA.

  2. Create a virtual environment (optional but recommended):

    python3 -m venv myenvsource myenv/bin/activate
  3. Install the necessary PyTorch package using pip:

    pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

Usage

  • Run the main script /experiment.py using the following commands:

    python experiment.py --run_all

    from the repo source to run all experiments. Note however that the images used are not published and would,therefore have to be added for the script to run. An example of the Attack Model training is shown in /attack_model.ipynb.

    If the experiments ran, they can be visualized with

    python experiment.py --plot --clip

About

Codebase for the bachelor thesis: Membership Inference Attacks for generative models.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp