{"id":51436934,"url":"https://github.com/dpasca/dpasca-pytorch-examples","last_synced_at":"2026-07-05T07:30:28.897Z","repository":{"id":183229396,"uuid":"669801880","full_name":"dpasca/dpasca-pytorch-examples","owner":"dpasca","description":"Random testbed/scratchpad for simple experiments with LibTorch","archived":false,"fork":false,"pushed_at":"2023-08-09T08:18:37.000Z","size":2772,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-08-09T09:50:44.994Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/dpasca.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}},"created_at":"2023-07-23T13:28:10.000Z","updated_at":"2023-07-24T17:29:37.000Z","dependencies_parsed_at":"2023-07-23T14:51:20.577Z","dependency_job_id":null,"html_url":"https://github.com/dpasca/dpasca-pytorch-examples","commit_stats":null,"previous_names":["dpasca/dpasca-pytorch-examples"],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/dpasca/dpasca-pytorch-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpasca%2Fdpasca-pytorch-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpasca%2Fdpasca-pytorch-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpasca%2Fdpasca-pytorch-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpasca%2Fdpasca-pytorch-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dpasca","download_url":"https://codeload.github.com/dpasca/dpasca-pytorch-examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpasca%2Fdpasca-pytorch-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35147199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-05T02:00:06.290Z","response_time":100,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-07-05T07:30:28.189Z","updated_at":"2026-07-05T07:30:28.887Z","avatar_url":"https://github.com/dpasca.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dpasca-pytorch-examples\n\n## Overview\n\nThis is just a random testbed/scratchpad for simple experiments with LibTorch and PyTorch.\n\n## Setup (C++)\n\nIt's regularly only tested on macOS, but it should work on Linux and probably Windows.\n\nGet LibTorch [here](https://pytorch.org/get-started/locally/). Select `LibTorch` or `Source` if you want to build from source.\n\nThe CMake build is currently looking for `../libtorch` or `../pytorch-install` (relative to the root of this repo). Change as necessary.\n\n## Build and Run (C++)\n\n```bash\n./build.sh\n\n./_build/example*\n```\n\n## \"screenshots\"\n\n```\n 1.1100000 |\n 1.0000000 |                  *****                  *****                  ****\n 0.8900000 |*                *     *                *     *               **    *\n 0.7800000 | *              *       *              *       *             *       *\n 0.6700000 |  *            *         *            *         *                     *\n 0.5600000 |   *                      *          *                      *          *\n 0.4500000 |    *         *                     *            *         *            *\n 0.3400000 |     *       *             *       *              *       *              *\n 0.2300000 |      *     *               *                      *     *\n 0.1200000 |       *  **                 **  **                 ** **\n 0.0100000 |        **                     **                     *\n-0.1000000 |--------------------------------------------------------------------------\n\n## Test Predictions\n 1.0916607 |\n 0.9902501 |                   ****                   ****                  *****\n 0.8888394 |**                *    *                **    *                *     *\n 0.7874287 |                 *      *                      *              *\n 0.6860180 |  *             *        *             *                              *\n 0.5846074 |   *           *          *           *         *            *         *\n 0.4831967 |    *                                *           *          *           *\n 0.3817860 |              *            *                      *        *\n 0.2803754 |     **      *              *      **              *      *              *\n 0.1789647 |       ** ***                *** **                 **  **\n 0.0775540 |         *                      *                     **\n-0.0238566 |--------------------------------------------------------------------------\n\n## Train Loss\n 0.3133923 |\n 0.2825171 |\n 0.2516420 |\n 0.2207669 |\n 0.1898918 |*\n 0.1590166 |\n 0.1281415 |  *\n 0.0972664 | *\n 0.0663913 |      *  *** ***\n 0.0355161 |   *** **   *   **************************  ******************************\n 0.0046410 |                                          **\n-0.0262341 |--------------------------------------------------------------------------\n\n## Test Loss\n 0.1901521 |\n 0.1715822 |\n 0.1530123 |*\n 0.1344424 |  *\n 0.1158725 |\n 0.0973026 | *\n 0.0787328 |   *\n 0.0601629 |    ** **       *   *\n 0.0415930 |      *  ** *    *** ******* *   ** *** ****    * * *       *\n 0.0230231 |           * ***            * ***  *   *    **** * *  ****** *************\n 0.0044532 |                                                     *\n-0.0141167 |--------------------------------------------------------------------------\n\nEpoch [2120/10000], Train Loss: 0.0184644, Test Loss: 0.013449\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpasca%2Fdpasca-pytorch-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdpasca%2Fdpasca-pytorch-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpasca%2Fdpasca-pytorch-examples/lists"}