{"id":28988741,"url":"https://github.com/eidoslab/pruning-validation","last_synced_at":"2025-10-14T12:06:36.382Z","repository":{"id":82116997,"uuid":"378099562","full_name":"EIDOSLAB/pruning-validation","owner":"EIDOSLAB","description":"Test suite for pruned models","archived":false,"fork":false,"pushed_at":"2021-06-18T09:46:50.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-07-23T10:08:43.324Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EIDOSLAB.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-06-18T09:27:02.000Z","updated_at":"2021-06-18T09:46:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"3f7a2ed2-aaa0-4b78-9196-a047bcf43182","html_url":"https://github.com/EIDOSLAB/pruning-validation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EIDOSLAB/pruning-validation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EIDOSLAB%2Fpruning-validation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EIDOSLAB%2Fpruning-validation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EIDOSLAB%2Fpruning-validation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EIDOSLAB%2Fpruning-validation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EIDOSLAB","download_url":"https://codeload.github.com/EIDOSLAB/pruning-validation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EIDOSLAB%2Fpruning-validation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019412,"owners_count":26086575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-24T22:06:46.791Z","updated_at":"2025-10-14T12:06:36.119Z","avatar_url":"https://github.com/EIDOSLAB.png","language":"Python","readme":"# pruning-validation\nTest suite for LOBSTER-pruned models.\n\n## Installation\n\n```bash\ngit clone https://github.com/EIDOSlab/pruning-validation\ncd pruning-validation\npip3 install -r requirements.txt\n```\n\n## Usage\n\nUsing `test_single.py` is possible to evaluate the chosen model on the \ncorresponding dataset (e.g. MNIST for LeNet-300).\n\nAll the LOBSTER-trained models can be found at:\nhttps://drive.google.com/drive/u/2/folders/1Kv4CMghY3uLMNP81_YktVJhOxgbgX0Zr\n\n### Example\nFor example, to the LeNet-300 model with lower error (1.65%), on the MNIST dataset present in the folder ./data/MNIST:\n\n```bash\npython3 test_single.py \\\n--model lenet300_mnist_1 \\\n--data_dir ./data/MNIST \\\n--batch_size 1000 \\\n--workers 8 \\\n--device 0\n```\n\n## Arguments\n```bash\n-h, --help            show this help message and exit\n--model {lenet300_mnist_1,lenet300_mnist_2,lenet5_mnist_1,lenet5_fashion_1,resnet32_cifar10_1,resnet32_cifar10_2,resnet32_cifar10_3,resnet18_imagenet_1,resnet18_imagenet_2,resnet18_imagenet_3,resnet18_imagenet_4,resnet101_imagenet_1,resnet101_imagenet_2,resnet101_imagenet_3}\n                    Neural network architecture.\n--data_dir DATA_DIR   Folder containing the dataset. Default = data.\n--batch_size BATCH_SIZE\n                    Batch size train. Default = 100.\n--workers WORKERS     Number of workers. Default = 8.\n--device DEVICE       Device index (cpu or 0 or 1 etc.). Default = cpu.\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feidoslab%2Fpruning-validation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feidoslab%2Fpruning-validation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feidoslab%2Fpruning-validation/lists"}