Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How To Obtain Seed Model? #1

Open
bajinsheng opened this issue Mar 22, 2024 · 5 comments
Open

How To Obtain Seed Model? #1

bajinsheng opened this issue Mar 22, 2024 · 5 comments

Comments

@bajinsheng
Copy link

Hi!
For this command

python emi_mutate.py --model_name [model-name] --seed_model_path [path for seed ONNX model] --input_data_path [default is ../data/data.npy] --seed_number [seed_number]

How do I obtain the data.npy and other onnx models? They are not included in the google drive.
Thanks!

@Wilbur-Django
Copy link
Owner

The link is updated now.

@bajinsheng
Copy link
Author

Thanks for your reply. However, it is a corrupted zip archive:

$ unzip data.zip
Archive:  data.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of data.zip or
        data.zip.zip, and cannot find data.zip.ZIP, period.

@Wilbur-Django Wilbur-Django reopened this Mar 23, 2024
@Wilbur-Django
Copy link
Owner

Thanks for pointing out. After some investigation, I find vgg11.onnx in the zip file cannot be correctly extracted. You can use 360zip on Windows to extract the other four files.

Currently, I cannot find a backup of the original vgg11.onnx on my computer. Could you please try exporting a VGG11 model from Pytorch 1.7 to ONNX?

@Wilbur-Django
Copy link
Owner

I'm not sure whether it's due to some issues with the zip program during the packaging process. Previously, another independently packaged zip file of my data is also seen to be corrupted.

@bajinsheng
Copy link
Author

fastjar xvf data.zip

I found that fastjar can uncompress this corrupted zip file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants