{"id":17456661,"url":"https://github.com/martinthoma/msthesis-experiments","last_synced_at":"2025-06-18T17:37:43.632Z","repository":{"id":138046040,"uuid":"83792381","full_name":"MartinThoma/msthesis-experiments","owner":"MartinThoma","description":"Experiments for my masters thesis","archived":false,"fork":false,"pushed_at":"2020-06-27T02:29:42.000Z","size":660,"stargazers_count":16,"open_issues_count":3,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-24T01:43:23.128Z","etag":null,"topics":["tex","thesis"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MartinThoma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2017-03-03T11:40:26.000Z","updated_at":"2022-12-14T03:53:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"9aab9df3-89d2-43b0-a386-4fd6209d1bbc","html_url":"https://github.com/MartinThoma/msthesis-experiments","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MartinThoma/msthesis-experiments","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinThoma%2Fmsthesis-experiments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinThoma%2Fmsthesis-experiments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinThoma%2Fmsthesis-experiments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinThoma%2Fmsthesis-experiments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MartinThoma","download_url":"https://codeload.github.com/MartinThoma/msthesis-experiments/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinThoma%2Fmsthesis-experiments/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260600247,"owners_count":23034670,"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","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":["tex","thesis"],"created_at":"2024-10-18T02:49:07.815Z","updated_at":"2025-06-18T17:37:38.614Z","avatar_url":"https://github.com/MartinThoma.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# msthesis-experiments\nExperiments for the masters thesis of Martin Thoma\n\nEvery experiment is a YAML file. See the experiments folder for some examples.\n\n\n## Requirements\n\n* matplotlib\n* Tensorflow 1.0\n* Keras 2.0 (adjusted [preprocessing/image.py](https://github.com/fchollet/keras/pull/6003), see misc directory)\n* seaborn\n\nIf you get `TypeError: __init__() got an unexpected keyword argument\n'hsv_augmentation'` you didn't adjust the `image.py`. Just copy the one in\nthe misc folder to `python -c \"import keras.preprocessing.image as k;print(k.__file__)\"`\n\n\n## Scripts\n\n* `./run_training.py -f experiments/cifar100_baseline.yaml`: Train a model. Downloads everything by its own\n* `./analyze_training.py -d artifacts/cifar100_baseline`: Show some training statistics\n* `./inference_timing.py -f experiments/cifar100_baseline.yaml`: Run inference on a given trained model and measure the time\n* `./eval_ensemble.py -f ensemble/cifar100_baseline.yaml`: Evaluate an ensemble\n* `./visualize.py --cm artifacts/cifar100_root/cm-test.json`: Confusion matrix optimization\n* `./create_cm.py --indices cm.indices.pickle -f experiments/cifar100_root-g5.yaml`\n\n## Run timining experiments\n\nMeasuring inference time needs about 2 minutes:\n\n```\n$ ./inference_timing.py -f experiments/cifar10_baseline.yaml\n```\n\nMeasuring training time takes about 70 minutes:\n\n```\n$ ./run_training.py -f experiments/cifar10_baseline.yaml\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinthoma%2Fmsthesis-experiments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartinthoma%2Fmsthesis-experiments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinthoma%2Fmsthesis-experiments/lists"}