{"id":13799050,"url":"https://github.com/stjordanis/gluon2keras","last_synced_at":"2025-05-13T06:32:04.592Z","repository":{"id":69501390,"uuid":"334449045","full_name":"stjordanis/gluon2keras","owner":"stjordanis","description":"Gluon to Keras deep neural network model converter","archived":false,"fork":false,"pushed_at":"2018-12-23T22:13:50.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-18T13:47:24.572Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":false,"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/stjordanis.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}},"created_at":"2021-01-30T15:45:16.000Z","updated_at":"2021-07-06T18:25:04.000Z","dependencies_parsed_at":"2023-05-13T08:15:23.246Z","dependency_job_id":null,"html_url":"https://github.com/stjordanis/gluon2keras","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stjordanis%2Fgluon2keras","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stjordanis%2Fgluon2keras/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stjordanis%2Fgluon2keras/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stjordanis%2Fgluon2keras/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stjordanis","download_url":"https://codeload.github.com/stjordanis/gluon2keras/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253889060,"owners_count":21979564,"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":[],"created_at":"2024-08-04T00:00:58.281Z","updated_at":"2025-05-13T06:32:04.060Z","avatar_url":"https://github.com/stjordanis.png","language":null,"funding_links":[],"categories":["Libraries"],"sub_categories":[],"readme":"# gluon2keras\nGluon to Keras deep neural network model converter\n\n[![Build Status](https://travis-ci.com/nerox8664/gluon2keras.svg?branch=master)](https://travis-ci.com/nerox8664/gluon2keras)\n[![GitHub License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![Python Version](https://img.shields.io/badge/python-2.7%2C3.6-lightgrey.svg)](https://github.com/nerox8664/gluon2keras)\n\n## Installation\n\n```\ngit clone https://github.com/nerox8664/gluon2keras\ncd gluon2keras\npip install -e .\n```\n\nor you can use `pip`:\n\n```\npip install gluon2keras\n```\n\n## Usage\n\n```\n# Get a model from gluon cv\nfrom gluoncv2.model_provider import get_model as glcv2_get_model\nnet = glcv2_get_model(\"xception\")\n\n# Make sure it's hybrid and initialized\nnet.hybridize()\nnet.collect_params().initialize()\n\n# Test input\ninput_np = np.random.uniform(0, 1, (1, 3, 299, 299))\ngluon_output = net(mx.nd.array(input_np))\n\n# Keras model\nk_model = gluon2keras(net, [(1, 3, 299, 299)], verbose=True, names='short')\nerror = check_error(gluon_output, k_model, input_np)\n```\n\n## Code snippets\nLook at the `tests` directory.\n\n## License\nThis software is covered by MIT License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstjordanis%2Fgluon2keras","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstjordanis%2Fgluon2keras","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstjordanis%2Fgluon2keras/lists"}