mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-12 19:04:03 +08:00
Fix IPython error display (#1397)
This commit is contained in:
1 parent
3cf2bb09ac
commit
259f3aa4dd
1 file changed
+4
-4
+4
-4
@@ -292,9 +292,9 @@
|
||||
"if os.path.exists(f\"data/nerfstudio/{scene}/transforms.json\"):\n",
|
||||
" !ns-train nerfacto --viewer.websocket-port 7007 nerfstudio-data --data data/nerfstudio/$scene --downscale-factor 4\n",
|
||||
"else:\n",
|
||||
" import IPython\n",
|
||||
" display(IPython.display.HTML('<h3 style=\"color:red\">Error: Data processing did not complete</h3>'))\n",
|
||||
" display(IPython.display.HTML('<h3>Please re-run `Downloading and Processing Data`, or view the FAQ for more info.</h3>'))"
|
||||
" from IPython.core.display import display, HTML\n",
|
||||
" display(HTML('<h3 style=\"color:red\">Error: Data processing did not complete</h3>'))\n",
|
||||
" display(HTML('<h3>Please re-run `Downloading and Processing Data`, or view the FAQ for more info.</h3>'))"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -383,4 +383,4 @@
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 0
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user