{"id":17036893,"url":"https://github.com/faroit/keras2tikz","last_synced_at":"2026-05-06T04:32:35.467Z","repository":{"id":66776005,"uuid":"92690390","full_name":"faroit/keras2tikz","owner":"faroit","description":"Generate tikz code for DNN layer diagrams","archived":false,"fork":false,"pushed_at":"2020-03-24T13:13:38.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T22:45:52.034Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/faroit.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}},"created_at":"2017-05-28T22:19:05.000Z","updated_at":"2020-03-24T13:13:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"478ac273-5a35-4117-8ca4-13f16c61a37e","html_url":"https://github.com/faroit/keras2tikz","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/faroit/keras2tikz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faroit%2Fkeras2tikz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faroit%2Fkeras2tikz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faroit%2Fkeras2tikz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faroit%2Fkeras2tikz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/faroit","download_url":"https://codeload.github.com/faroit/keras2tikz/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faroit%2Fkeras2tikz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32678608,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T02:33:58.958Z","status":"ssl_error","status_checked_at":"2026-05-06T02:33:39.611Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-10-14T08:52:17.534Z","updated_at":"2026-05-06T04:32:35.437Z","avatar_url":"https://github.com/faroit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# keras2tikz\nGenerate (hopefully) readable tikz code for DNN layer diagrams.\n\nTested on keras 2.3.1.\n\n## Why?\n\nKeras has a `summary` and a [builtin graphviz export](https://github.com/fchollet/keras/blob/master/keras/utils/vis_utils.py). Both show the input and output shapes of all layers. However, many papers show the layer parameters, so I've added some common parameters like hidden units (Dense + Recurrent), Kernel size and number of filter (Convolutional), Pooling Dimensions... to the output graph...\n\n## Usage\n\n```python\nfrom keras import applications\n\nmodel = applications.VGG16(weights=None)\ntix_code = gen_tikz_from_model(model)\ntex_file = open(\"model.tex\", 'w')\ntex_file.write(tex_file)\ntex_file.close()\n```\n\n![vgg16](https://cloud.githubusercontent.com/assets/72940/26532609/61ff71aa-4405-11e7-9827-6cc4b12550dc.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaroit%2Fkeras2tikz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaroit%2Fkeras2tikz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaroit%2Fkeras2tikz/lists"}