{"id":13757221,"url":"https://github.com/catalyst-team/alchemy","last_synced_at":"2025-04-14T16:34:26.812Z","repository":{"id":57409513,"uuid":"225210772","full_name":"catalyst-team/alchemy","owner":"catalyst-team","description":"Experiments logging \u0026 visualization","archived":false,"fork":false,"pushed_at":"2021-09-13T05:57:38.000Z","size":52,"stargazers_count":50,"open_issues_count":1,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-12T04:22:34.590Z","etag":null,"topics":["deep-learning","experiment-track","infrastructure","keras","machine-learning","pytorch","reinforcement-learning","reproducibility","research","tensorflow"],"latest_commit_sha":null,"homepage":"https://alchemy.host","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/catalyst-team.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":"catalyst_team","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-12-01T18:44:36.000Z","updated_at":"2024-01-04T16:40:07.000Z","dependencies_parsed_at":"2022-08-24T18:51:21.072Z","dependency_job_id":null,"html_url":"https://github.com/catalyst-team/alchemy","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst-team%2Falchemy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst-team%2Falchemy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst-team%2Falchemy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst-team%2Falchemy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/catalyst-team","download_url":"https://codeload.github.com/catalyst-team/alchemy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248917080,"owners_count":21182923,"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":["deep-learning","experiment-track","infrastructure","keras","machine-learning","pytorch","reinforcement-learning","reproducibility","research","tensorflow"],"created_at":"2024-08-03T12:00:29.828Z","updated_at":"2025-04-14T16:34:26.779Z","avatar_url":"https://github.com/catalyst-team.png","language":"Python","funding_links":["https://patreon.com/catalyst_team"],"categories":["Python","2.For Experiment"],"sub_categories":["Experiments management"],"readme":"\u003cdiv align=\"center\"\u003e\n\n![Alchemy logo](https://raw.githubusercontent.com/catalyst-team/catalyst-pics/master/Catalyst.Ecosystem/PNG/alchemy-logo.png)\n\n**Experiments logging \u0026 visualization**\n\n![Build Status](https://github.com/catalyst-team/alchemy/workflows/CI/badge.svg)\n[![CodeFactor](https://www.codefactor.io/repository/github/catalyst-team/alchemy/badge)](https://www.codefactor.io/repository/github/catalyst-team/alchemy)\n[![Pipi version](https://img.shields.io/pypi/v/alchemy.svg)](https://pypi.org/project/alchemy/)\n[![Docs](https://img.shields.io/badge/dynamic/json.svg?label=docs\u0026url=https%3A%2F%2Fpypi.org%2Fpypi%2Fcatalyst%2Fjson\u0026query=%24.info.version\u0026colorB=brightgreen\u0026prefix=v)](https://catalyst-team.github.io/catalyst/index.html)\n[![PyPI Status](https://pepy.tech/badge/alchemy)](https://pepy.tech/project/alchemy)\n\n[![Twitter](https://img.shields.io/badge/news-twitter-499feb)](https://twitter.com/CatalystTeam)\n[![Telegram](https://img.shields.io/badge/channel-telegram-blue)](https://t.me/catalyst_team)\n[![Slack](https://img.shields.io/badge/Catalyst-slack-success)](https://join.slack.com/t/catalyst-team-devs/shared_invite/zt-d9miirnn-z86oKDzFMKlMG4fgFdZafw)\n[![Github contributors](https://img.shields.io/github/contributors/catalyst-team/alchemy.svg?logo=github\u0026logoColor=white)](https://github.com/catalyst-team/alchemy/graphs/contributors)\n\n\u003c/div\u003e\n\nProject [manifest](https://github.com/catalyst-team/catalyst/blob/master/MANIFEST.md). Part of [Catalyst Ecosystem](https://docs.google.com/presentation/d/1D-yhVOg6OXzjo9K_-IS5vSHLPIUxp1PEkFGnpRcNCNU/edit?usp=sharing):\n- [Alchemy](https://github.com/catalyst-team/alchemy) - Experiments logging \u0026 visualization\n- [Catalyst](https://github.com/catalyst-team/catalyst) - Accelerated Deep Learning Research and Development\n- [Reaction](https://github.com/catalyst-team/reaction) - Convenient Deep Learning models serving\n\n---\n\n## Installation\n\nCommon installation:\n```bash\npip install -U alchemy\n```\n\nPrevious name `alchemy-catalyst` [![PyPI Status](https://pepy.tech/badge/alchemy-catalyst)](https://pepy.tech/project/alchemy-catalyst)\n\n## Getting started\n\n1. Goto [Alchemy](https://alchemy.host/) and get your personal token.\n\n2. Run following **example.py**:\n    ```python\n    import random\n    \n    from alchemy import Logger\n    \n    # insert your personal token here\n    token = \"...\"\n    project = \"default\"\n    \n    for gid in range(1):\n        group = f\"group_{gid}\"\n        for eid in range(2):\n            experiment = f\"experiment_{eid}\"\n            logger = Logger(\n                token=token,\n                experiment=experiment,\n                group=group,\n                project=project,\n            )\n            for mid in range(4):\n                metric = f\"metric_{mid}\"\n                # let's sample some random data\n                n = 300\n                x = random.randint(-10, 10)\n                for i in range(n):\n                    logger.log_scalar(metric, x)\n                    x += random.randint(-1, 1)\n            logger.close()\n    ```\n3. Now you should see your metrics on [Alchemy](https://alchemy.host/).\n\n\n## Catalyst.Ecosystem\n\n1. Goto [Alchemy](https://alchemy.host/) and get your personal token.\n\n2. Log your Catalyst experiment with **AlchemyLogger**:\n    ```python\n    from catalyst.dl import SupervisedRunner, AlchemyLogger\n\n    runner = SupervisedRunner()\n    runner.train(\n        model=model,\n        criterion=criterion,\n        optimizer=optimizer,\n        loaders=loaders,\n        logdir=logdir,\n        num_epochs=num_epochs,\n        verbose=True,\n        callbacks={\n            \"logger\": AlchemyLogger(\n                token=\"...\", # your Alchemy token\n                project=\"your_project_name\",\n                experiment=\"your_experiment_name\",\n                group=\"your_experiment_group_name\",\n            )\n        }\n    )\n    ```\n3. Now you should see your metrics on [Alchemy](https://alchemy.host/).\n\n## Examples\n\nFor mode detailed tutorials, please follow [Catalyst examples](https://github.com/catalyst-team/catalyst/tree/master/examples#tutorials).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatalyst-team%2Falchemy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatalyst-team%2Falchemy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatalyst-team%2Falchemy/lists"}