{"id":25582449,"url":"https://github.com/koooki3/cats-vs-dogs","last_synced_at":"2026-04-29T14:39:04.979Z","repository":{"id":277504448,"uuid":"932635203","full_name":"Koooki3/Cats-vs-Dogs","owner":"Koooki3","description":"This repository contains code and resources for building, training, and evaluating deep learning models for cat vs dog classification using PyTorch.","archived":false,"fork":false,"pushed_at":"2025-02-14T08:52:39.000Z","size":0,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T09:30:32.766Z","etag":null,"topics":["anaconda3","binary-classification","cats-vs-dogs","deep-learning","python","pytorch"],"latest_commit_sha":null,"homepage":"https://github.com/Koooki3/Cats-vs-Dogs.git","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/Koooki3.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":"2025-02-14T08:40:46.000Z","updated_at":"2025-02-14T08:52:43.000Z","dependencies_parsed_at":"2025-02-14T09:30:37.252Z","dependency_job_id":"00af27ac-03c4-4881-a8e1-cdf9b8b81b7a","html_url":"https://github.com/Koooki3/Cats-vs-Dogs","commit_stats":null,"previous_names":["koooki3/cats-vs-dogs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Koooki3%2FCats-vs-Dogs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Koooki3%2FCats-vs-Dogs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Koooki3%2FCats-vs-Dogs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Koooki3%2FCats-vs-Dogs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Koooki3","download_url":"https://codeload.github.com/Koooki3/Cats-vs-Dogs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239958314,"owners_count":19724927,"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":["anaconda3","binary-classification","cats-vs-dogs","deep-learning","python","pytorch"],"created_at":"2025-02-21T05:16:31.811Z","updated_at":"2026-04-02T12:30:23.205Z","avatar_url":"https://github.com/Koooki3.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cats vs Dogs Classification with PyTorch\n\nThis repository contains code and resources for building, training, and evaluating deep learning models for cat vs dog classification using PyTorch.\n\n本仓库包含使用 PyTorch 构建、训练和评估猫狗分类深度学习模型的代码和资源。\n\n## Table of Contents / 目录\n- [Introduction / 简介](#introduction--简介)\n- [Installation / 安装](#installation--安装)\n- [Usage / 使用方法](#usage--使用方法)\n- [Contributing / 贡献](#contributing--贡献)\n\n## Introduction / 简介\nCat vs Dog classification is a binary classification task that distinguishes between cat and dog images. This project demonstrates various deep learning models and visualization tools using PyTorch.\n\n猫狗分类是一个二分类任务，通过图像区分猫和狗。本项目演示了使用 PyTorch 搭建和训练多种模型以及相应的架构可视化工具。\n\n## Installation / 安装\nTo get started, clone the repository and install the required dependencies:\n\n首先，克隆仓库并安装所需的依赖项：\n\n```bash\ngit clone https://github.com/Koooki3/Cats-vs-Dogs.git\ncd Cats-vs-Dogs\npip install -r requirements.txt\n```\n\n## Usage / 使用方法\n### Data Preparation / 数据准备\nTo process the graphs dataset, make sure you prepare necessary data and settle them in \"train\" with following name rules: \"X(nums)_Categorys.png/jpg/...\"\n\n要处理图像数据，请确保必要的数据被保存在用户自行创建的“train”文件夹内且内部文件命名为：\"X(序号)_种类.png/jpg/...\"\n\nIn order to create dataset, you can use codes in:\n\n你可以使用压缩包中的代码帮助你创建数据集：\n\n```\nZIP file: data-preparation.zip\n```\n\n### Training / 训练\nTo train a model, run the following command:\n\n要训练一个模型，请运行以下命令：\n\n```bash\npython train.py\n```\n\n### Evaluation / 评估\nTo evaluate the trained model, run the following command:\n\n要评估训练好的模型，请运行以下命令：\n\n```bash\npython chech_models.py\npython visualize_models.py\n```\n\n### Test / 测试\nTo test all the models which have been trained, run the following command. By using the created GUI table, it will be pretty easy for you to check all models and test whatever you want. \n\n要测试所有训练好的模型，请运行以下命令。通过使用脚本生成的GUI界面，你将能轻松查看所有模型的信息并测试任何一个模型。\n\n```bash\npython test.py\n```\n\n### Notice / 注意项\nThe project could be easily transform to solve other Binary-Classification problems, just make sure data in \"train\" is properly set-up.\n\n这个项目可以轻松迁移用以训练不同的二分类任务，只需保证“train”中的数据满足要求即可。\n\n## Contributing / 贡献\nContributions are welcome! Please open an issue or submit a pull request for any changes.\n\n欢迎贡献！请提交 issue 或 pull request 以进行任何更改。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoooki3%2Fcats-vs-dogs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoooki3%2Fcats-vs-dogs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoooki3%2Fcats-vs-dogs/lists"}