{"id":21812258,"url":"https://github.com/jolibrain/dd_board","last_synced_at":"2025-04-13T23:14:46.708Z","repository":{"id":83660131,"uuid":"101867076","full_name":"jolibrain/dd_board","owner":"jolibrain","description":"Tensorboard logger for DeepDetect server JSON output","archived":false,"fork":false,"pushed_at":"2018-03-06T16:44:38.000Z","size":11,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-13T23:13:20.661Z","etag":null,"topics":["deepdetect","deeplearning","tensorboard","tensorboard-logger"],"latest_commit_sha":null,"homepage":"","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/jolibrain.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,"zenodo":null}},"created_at":"2017-08-30T10:09:24.000Z","updated_at":"2020-04-22T18:09:25.000Z","dependencies_parsed_at":"2023-03-12T19:10:31.693Z","dependency_job_id":null,"html_url":"https://github.com/jolibrain/dd_board","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jolibrain%2Fdd_board","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jolibrain%2Fdd_board/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jolibrain%2Fdd_board/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jolibrain%2Fdd_board/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jolibrain","download_url":"https://codeload.github.com/jolibrain/dd_board/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248794569,"owners_count":21162615,"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":["deepdetect","deeplearning","tensorboard","tensorboard-logger"],"created_at":"2024-11-27T14:15:22.405Z","updated_at":"2025-04-13T23:14:46.689Z","avatar_url":"https://github.com/jolibrain.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dd_board\nVersion 0.4\n\nWorks with: Python 2.7\n\nConverts logs to \"TensorBoard compatible\" data.\n\nParameters (except for del_dir, they must be written between quotes, even if left empty):\n- log_src = string, log source to analyze (flow, log file or any Python dict / JSON object).\n- base_dir = string, general cache directory used by tensorboard. If not existing, will be created.\n- sub_dir = string, subdirectory of the current run used by tensorboard. If not existing, will be created.\n- del_dir = bolean, *False* if ommited. If set to *False*, the new graph is displayed after the preceding one, if any. If set to *True*, the tensorboard cache directory (*base_dir/sub_dir*) will be deleted and the new graph will be the only one to appear.\n\nRequirements:\n-------------\n\n- [tensorboard_logger](https://github.com/TeamHG-Memex/tensorboard_logger)\n\nUsage:\n------\n\n```\nfrom dd_board_logger import DDBoard\n\ndo_what_have_to_be_done_before()\n\nread_dd = DDBoard(base_dir, sub_dir, del_dir)\n```\n\nThen, with a log flow:\n```\nread_dd.ddb_logger(log_src)\n```\n\nOr, with a log file:\n```\nread_dd.ddb_logger_file(log_src)\n```\n\nOr with external data (need \"import json, time\", for this example):\n```\nlog_src = open(json_src, 'r')\nfor line in log_src:\n\njson_src = open(log_src, 'r')\nfor line in json_src:\n\tjson_obj = json.loads(line)\n\tread_dd.ddb_logger(json_obj)\n\ttime.sleep(1)\n```\n\nYou can then start TensorBoard in console:\n```\n$tensorboard --logdir base_dir\n\n```\n(base_dir without quotes, here. Ex: *tensorboard --logdir runs*)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjolibrain%2Fdd_board","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjolibrain%2Fdd_board","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjolibrain%2Fdd_board/lists"}