109 Python Problems for CCPS 109

PythonProblems This repository contains the problem specifications, the automated tester and the necessary data files for the graded lab problems for the course CCPS 109 Computer Science I, as taught by Ilkka Kokkarinen for the Chang School of Continuing Education, Ryerson University, Toronto, Canada. Write all your functions one by one into the same file labs109.py so that the acceptance tester script tester109.py can find them. This tester will execute the automated acceptance tests precisely for the functions implemented in […]

Read more

Reverse Engineering of Generative Models: Inferring Model Hyperparameters from Generated Images

Reverse_Engineering_GMs Official Pytorch implementation of paper “Reverse Engineering of Generative Models: Inferring Model Hyperparameters from Generated Images”. The paper and supplementary can be found at https://arxiv.org/abs/2106.07873 Prerequisites PyTorch 1.5.0 Numpy 1.14.2 Scikit-learn 0.22.2 Getting Started Datasets For reverse enginnering: For deepfake detection: Download the CelebA/LSUN dataset For image_attribution: Generate 110,000 images for four different GAN models as specified in https://github.com/ningyu1991/GANFingerprints/ For real images, use 110,000 of CelebA dataset. For training: we used 100,000 images and remaining 10,000 for testing. Training […]

Read more