{"id":21505627,"url":"https://github.com/trixky/fashion_cnn","last_synced_at":"2025-03-17T14:20:32.230Z","repository":{"id":247234610,"uuid":"825292389","full_name":"trixky/fashion_cnn","owner":"trixky","description":"An online convolutional neural network (CNN) model for classifying fashion items.","archived":false,"fork":false,"pushed_at":"2024-07-07T13:51:38.000Z","size":14862,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T23:53:33.229Z","etag":null,"topics":["classification-model","convolutional-neural-network","mlp","mnist","mnist-fashion","multilayer-perceptron","tensorflow","tensorflowjs"],"latest_commit_sha":null,"homepage":"https://trixky.github.io/fashion_cnn/","language":"Svelte","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/trixky.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":"2024-07-07T11:31:15.000Z","updated_at":"2024-07-07T13:54:37.000Z","dependencies_parsed_at":"2024-07-07T15:18:07.780Z","dependency_job_id":null,"html_url":"https://github.com/trixky/fashion_cnn","commit_stats":null,"previous_names":["trixky/fashion_cnn"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trixky%2Ffashion_cnn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trixky%2Ffashion_cnn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trixky%2Ffashion_cnn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trixky%2Ffashion_cnn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trixky","download_url":"https://codeload.github.com/trixky/fashion_cnn/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244047647,"owners_count":20389206,"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":["classification-model","convolutional-neural-network","mlp","mnist","mnist-fashion","multilayer-perceptron","tensorflow","tensorflowjs"],"created_at":"2024-11-23T19:09:18.647Z","updated_at":"2025-03-17T14:20:32.184Z","avatar_url":"https://github.com/trixky.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fashion_cnn\n\nAn [online](https://trixky.github.io/fashion_cnn/) [convolutional neural network](https://en.wikipedia.org/wiki/Convolutional_neural_network) (CNN) model for classifying fashion items.\n\nThe model is trained on the [MNIST fashion dataset](https://www.tensorflow.org/datasets/catalog/fashion_mnist) and implemented using the [TensorFlow.js](https://www.tensorflow.org/js) library.\n\n\u003e The model is loaded on the client side and all calculations are made on the device.\n\n\u003cimg src=\"https://raw.githubusercontent.com/trixky/fashion_cnn/main/.demo/screenshots.gif\"  width=\"442\"\u003e\n\n## Setup\n\n```bash\nnpm run install\nnpm run dev #localhost:5173\n```\n\n## Model caracteristics\n\n- dataset: MNIST (fashion) (10 000 samples)\n- input layer: 784 (28x28 pixels)\n- convolutional layers (4):\n    * 16(28x28)[5x5 filter] + stride[2] \u0026 max pool[2x2]\n    * 32(14x14)[5x5 filter] + stride[2] \u0026 max pool[2x2]\n- hidden layers (1): 128 neurons (ReLU activation)\n- output layer: 10 (Softmax activation)\n- optimizer: Adam\n- loss: categoricalCrossentropy\n- metrics: accuracy\n- epochs: 10\n- batch size: 512\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrixky%2Ffashion_cnn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrixky%2Ffashion_cnn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrixky%2Ffashion_cnn/lists"}