Skip to content

Commit

Permalink
Update roboflow_resnet.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
QIN2DIM committed Oct 21, 2023
1 parent 0b97359 commit 429d90d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion automation/roboflow_resnet.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"execution_count": null,
"outputs": [],
"source": [
"from __future__ import annotations\n",
"!nvidia-smi"
],
"metadata": {
Expand Down Expand Up @@ -272,7 +273,7 @@
" def to_yaml(self, path: Path | None = None):\n",
" path = path or Path(\"objects-tmp.yaml\")\n",
" with open(path, \"w\", encoding=\"utf8\") as file:\n",
" yaml.safe_dump(self.__dict__, file, sort_keys=False, allow_unicode=True)\n",
" yaml.safe_dump(self.__dict__, file, sort_keys=False, allow_unicode=True, line_break=\"\\n\")\n",
" return path\n",
"\n",
" @staticmethod\n",
Expand Down

0 comments on commit 429d90d

Please sign in to comment.