{"id":18510348,"url":"https://github.com/rerun-io/rerun-loader-python-example-tfrecord","last_synced_at":"2026-01-07T00:56:17.810Z","repository":{"id":216356343,"uuid":"740875682","full_name":"rerun-io/rerun-loader-python-example-tfrecord","owner":"rerun-io","description":"Example Tensorboard log (TFRecord of Events) external data loader for Rerun","archived":false,"fork":false,"pushed_at":"2024-05-31T06:26:16.000Z","size":2705,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-03-25T05:59:58.176Z","etag":null,"topics":["machine-learning","tensorflow","visualization"],"latest_commit_sha":null,"homepage":"https://www.rerun.io/blog/data-loaders","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/rerun-io.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":"2024-01-09T08:49:11.000Z","updated_at":"2024-07-29T21:44:38.000Z","dependencies_parsed_at":"2024-05-31T07:39:18.604Z","dependency_job_id":"6e25a395-8da3-4541-8482-1b5189ff30d3","html_url":"https://github.com/rerun-io/rerun-loader-python-example-tfrecord","commit_stats":null,"previous_names":["rerun-io/rerun-loader-python-example-tfrecord"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rerun-io%2Frerun-loader-python-example-tfrecord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rerun-io%2Frerun-loader-python-example-tfrecord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rerun-io%2Frerun-loader-python-example-tfrecord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rerun-io%2Frerun-loader-python-example-tfrecord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rerun-io","download_url":"https://codeload.github.com/rerun-io/rerun-loader-python-example-tfrecord/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246034314,"owners_count":20712857,"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":["machine-learning","tensorflow","visualization"],"created_at":"2024-11-06T15:23:00.018Z","updated_at":"2026-01-07T00:56:17.743Z","avatar_url":"https://github.com/rerun-io.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tfrecord -\u003e Rerun plugin\nThis is an example data-loader plugin that lets you view a TFRecord of Events (i.e., Tensorboard log files) in the [Rerun](https://github.com/rerun-io/rerun/) Viewer.\nIt uses the [external data loader mechanism](https://www.rerun.io/docs/howto/open-any-file#external-dataloaders) to add this capability to the viewer without modifying the viewer itself.\n\nhttps://github.com/rerun-io/rerun-loader-python-example-tfrecord/assets/9785832/912641d2-b9d8-4039-b7c9-03d3beafd2b9\n\nExternal data loaders are executables that are available to the Rerun Viewer via the `PATH` variable, with a name that starts with `rerun-loader-`.\n\nThis example is written in Python, and uses [TensorFlow](https://www.tensorflow.org/) to read the files. The events are then logged to Rerun.\n\n\u003e NOTE: Not all events are supported yet. Scalars, images, text, and tensors should work. Unsupported events are skipped.\n\n## Installing the Rerun Viewer\nThe simplest option is just:\n```bash\npip install rerun-sdk\n```\nRead [this guide](https://www.rerun.io/docs/getting-started/installing-viewer) for more options.\n\n## Installing the plugin\n### Installing pipx\n\nThe most robust way to install the plugin to your `PATH` is using [pipx](https://pipx.pypa.io/stable/).\n\nIf you don't have `pipx` installed on your system, you can follow the official instructions [here](https://pipx.pypa.io/stable/installation/).\n\n### Installing the plugin with pipx\nNow you can install the plugin to your `PATH` using\n\n```bash\npipx install git+https://github.com/rerun-io/rerun-loader-python-example-tfrecord.git\npipx ensurepath\n```\nNote: you can use the `--python` argument to specify the Python interpreter to use with pipx.\nOn unix-like systems `--python $(which python)` will use the currently active Python.\n\nMake sure it's installed by running it from your terminal, which should output an error and usage description:\n```bash\nrerun-loader-tfrecord\nusage: rerun-loader-tfrecord [-h] [--recording-id RECORDING_ID] filepath\nrerun-loader-tfrecord: error: the following arguments are required: filepath\n```\n## Try it out\n### Download an example `xxx.tfevents.xxx` file\n```bash\ncurl -OL https://github.com/rerun-io/rerun-loader-python-example-tfrecord/raw/main/events.tfevents.example\n```\n\n### Open in the Rerun Viewer\nYou can either first open the viewer, and then open the file from there using drag-and-drop or the menu\u003eopen… dialog,\nor you can open it directly from the terminal like:\n```bash\nrerun events.tfevents.example\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frerun-io%2Frerun-loader-python-example-tfrecord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frerun-io%2Frerun-loader-python-example-tfrecord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frerun-io%2Frerun-loader-python-example-tfrecord/lists"}