{"id":25423264,"url":"https://github.com/marsggbo/torchline","last_synced_at":"2025-10-31T14:30:33.025Z","repository":{"id":57476511,"uuid":"227288226","full_name":"marsggbo/torchline","owner":"marsggbo","description":"Easy to use Pytorch","archived":false,"fork":false,"pushed_at":"2020-11-10T07:00:31.000Z","size":193,"stargazers_count":71,"open_issues_count":1,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-12-12T08:02:29.882Z","etag":null,"topics":["demo","pipeline-framework","pytorch","pytorch-lightning","torchline"],"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/marsggbo.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":"2019-12-11T05:59:52.000Z","updated_at":"2024-01-04T16:40:25.000Z","dependencies_parsed_at":"2022-09-12T14:34:10.687Z","dependency_job_id":null,"html_url":"https://github.com/marsggbo/torchline","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marsggbo%2Ftorchline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marsggbo%2Ftorchline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marsggbo%2Ftorchline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marsggbo%2Ftorchline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marsggbo","download_url":"https://codeload.github.com/marsggbo/torchline/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239132701,"owners_count":19587107,"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":["demo","pipeline-framework","pytorch","pytorch-lightning","torchline"],"created_at":"2025-02-16T22:27:07.246Z","updated_at":"2025-10-31T14:30:32.969Z","avatar_url":"https://github.com/marsggbo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# torchline v0.3.0.4\n\n\u003e Easy to use Pytorch\n\u003e \n\u003e Only one configure file is enough!\n\u003e \n\u003e You can change anything you want just in only one configure file.\n\n# Dependences\n\n- Python\u003e=3.6\n- Pytorch\u003e=1.3.1\n- torchvision\u003e=0.4.0,\u003c0.5.0\n- yacs==0.1.6\n- pytorch-lightning\u003c=0.7.6\n\n\n# Install\n\n- Before you install `torchline`, please make sure you have installed the above libraries.\n- You can use `torchline` both in Linux and Windows.\n\n```bash\npip install torchline\n```\n\n# Run demo\n\n## train model with GPU0 and GPU 1\n```python\ncd projects/cifar10_demo\npython main.py --config_file cifar10.yaml trainer.gpus [0,1]\n```\n\n## debug，add command line `trainer.fast_dev_run True`\n```python\ncd projects/cifar10_demo\npython main.py --config_file cifar10.yaml trainer.gpus [0] trainer.fast_dev_run True\n```\n\nCIFAR demo uses ResNet50，which is trained for 72 epochs and achieved the best result (94.39% validation accuracy) at the epoch 54.\n\n# Thanks\n\n- [AutoML](https://zhuanlan.zhihu.com/automl)\n- [pytorch-lightning](https://github.com/PyTorchLightning/pytorch-lightning)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarsggbo%2Ftorchline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarsggbo%2Ftorchline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarsggbo%2Ftorchline/lists"}