sky4689524 / Pytorch_AdversarialAttacks

Pytorch implementation with segmentation model and adversarial attacks
14 stars 1 forks source link

how to get samples? #1

Open EmotionalXX opened 4 years ago

EmotionalXX commented 4 years ago

Hi,I need to get my own samples.Can you tell how to make it?

sky4689524 commented 4 years ago

Hi, I used the original samples(256 x 256) in Open Access Series of Imaging Studies (OASIS) (https://www.oasis-brains.org/). If you want to get your own adversarial examples, first you need your own trained segmentation models(UNet, DenseNet or SegNet) With your trained segmentation models, you can use adversarial.py to generate adversarial examples. But if you want to use other segmentation models, you need to modify adversarial.py script for your own models.

freja-zy commented 2 years ago

想请问下您的数据集中原图和标签是怎么存的呢?

freja-zy commented 2 years ago

sample丢失扩展名,打不开,像请教一下

freja-zy commented 2 years ago

可以请教一下如何生成samples吗,拜托了~

Huangszz commented 2 years ago

I am sorry for this, it not work either. I give up this.