{"id":14970741,"url":"https://github.com/rajsoni03/neuralplot","last_synced_at":"2025-10-26T13:31:20.007Z","repository":{"id":57445776,"uuid":"299633900","full_name":"Rajsoni03/neuralplot","owner":"Rajsoni03","description":"Neural Plot is a python library for visualizing Neural Networks. It helps to plot Keras/Tensorflow model with matplotlib backend.","archived":false,"fork":false,"pushed_at":"2022-01-16T11:58:25.000Z","size":1970,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-11T04:41:25.620Z","etag":null,"topics":["3d","deep-neural-networks","graph","keras","library","matpolotlib","neural-network","neuralplot","tensorflow","visualization"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/neuralplot/","language":"Jupyter Notebook","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/Rajsoni03.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}},"created_at":"2020-09-29T13:57:46.000Z","updated_at":"2024-09-28T15:03:56.000Z","dependencies_parsed_at":"2022-09-26T17:30:18.283Z","dependency_job_id":null,"html_url":"https://github.com/Rajsoni03/neuralplot","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/Rajsoni03%2Fneuralplot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rajsoni03%2Fneuralplot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rajsoni03%2Fneuralplot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rajsoni03%2Fneuralplot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rajsoni03","download_url":"https://codeload.github.com/Rajsoni03/neuralplot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219862887,"owners_count":16555951,"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":["3d","deep-neural-networks","graph","keras","library","matpolotlib","neural-network","neuralplot","tensorflow","visualization"],"created_at":"2024-09-24T13:44:04.536Z","updated_at":"2025-10-26T13:31:13.914Z","avatar_url":"https://github.com/Rajsoni03.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Neural Plot\n\n[![PyPI version](https://img.shields.io/badge/pypi-v%200.0.8-green.svg)](https://pypi.org/project/neuralplot/)\n[![Python version](https://img.shields.io/badge/python-v3.6%20v3.7%20v3.8-red.svg)](https://www.python.org/)\n[![PyPI license](https://img.shields.io/pypi/l/ansicolortags.svg)](https://github.com/Rajsoni03/neuralplot/blob/master/LICENSE)\n[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/Rajsoni03/neuralplot/blob/master/others/Example%20Notebook.ipynb) \n\nNeural Plot is a python library for visualizing Neural Networks.\nIt helps to plot Keras/Tensorflow model with matplotlib backend.\n\n[![NeuralPlot](https://i.ytimg.com/an_webp/CsWnmWdk5-g/mqdefault_6s.webp?du=3000\u0026sqp=CKjGj48G\u0026rs=AOn4CLDi530RQLCprZL1_Gec3eflE-Gf8Q)](https://youtu.be/CsWnmWdk5-g \"NeuralPlot\")\n\u003cbr\u003ehttps://youtu.be/CsWnmWdk5-g\n\n\n## Installation\n\nRun the following to install:\n```sh\n$ pip install neuralplot\n```\n\n\n## Example\n\n```python\n# Importing Libraries\nfrom neuralplot import ModelPlot\nimport tensorflow as tf\nimport numpy as np\n```\n```python\n# Uncomment while using Colab.\n# %matplotlib inline \n\n# Uncomment while using jupyter notebook. This feature is not working in colab.\n%matplotlib notebook \n```\n```python\n#Creating Model\nX_input = tf.keras.layers.Input(shape=(32,32,3))\nX = tf.keras.layers.Conv2D(4, 3, activation='relu')(X_input)\nX = tf.keras.layers.MaxPool2D(2,2)(X)\nX = tf.keras.layers.Conv2D(16, 3, activation='relu')(X)\nX = tf.keras.layers.MaxPool2D(2,2)(X)\nX = tf.keras.layers.Conv2D(8, 3, activation='relu')(X)\nX = tf.keras.layers.MaxPool2D(2,2)(X)\nX = tf.keras.layers.Flatten()(X)\nX = tf.keras.layers.Dense(10, activation='relu')(X)\nX = tf.keras.layers.Dense(2, activation='softmax')(X)\n\nmodel = tf.keras.models.Model(inputs=X_input, outputs=X)\n```\n```python\nmodelplot = ModelPlot(model=model, grid=True, connection=True, linewidth=0.1)\nmodelplot.show()\n```\n[![modelplot with grid](https://raw.githubusercontent.com/Rajsoni03/neuralplot/master/others/images/Image-01.png)]()\n\n```python\nmodelplot = ModelPlot(model=model, grid=False, connection=True, linewidth=0.1)\nmodelplot.show()\n```\n[![modelplot with grid](https://raw.githubusercontent.com/Rajsoni03/neuralplot/master/others/images/Image-02.png)]()\n\n\nLicense\n----\nMIT\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajsoni03%2Fneuralplot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frajsoni03%2Fneuralplot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajsoni03%2Fneuralplot/lists"}