Spaces:
Build error
Build error
Added some notes
Browse files
app.py
CHANGED
@@ -31,9 +31,9 @@ def select_model():
|
|
31 |
st.title("DietNeRF")
|
32 |
caption = (
|
33 |
"DietNeRF achieves SoTA few-shot learning capacity in 3D model reconstruction. "
|
34 |
-
"Thanks to the 2D supervision by CLIP (aka. _Semantic Consisteny Loss_)
|
35 |
-
"it can render novel and challenging views with ONLY 8 training images
|
36 |
-
"outperforming original NeRF
|
37 |
)
|
38 |
st.markdown(caption)
|
39 |
st.markdown("")
|
@@ -116,7 +116,7 @@ radius = st.sidebar.slider(
|
|
116 |
st.markdown("")
|
117 |
|
118 |
with st.spinner("Rendering View..."):
|
119 |
-
with st.spinner("It may take 2-3 mins. So, why don't you
|
120 |
dn_pred_color, _ = render_predict_from_pose(diet_nerf_state, theta, phi, radius)
|
121 |
dn_im = predict_to_image(dn_pred_color)
|
122 |
dn_w, _ = dn_im.size
|
@@ -139,3 +139,9 @@ with st.spinner("Rendering View..."):
|
|
139 |
"""<h4 style='text-align: center'>NeRF</h4>""", unsafe_allow_html=True
|
140 |
)
|
141 |
nerf_col.image(n_im, use_column_width=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
st.title("DietNeRF")
|
32 |
caption = (
|
33 |
"DietNeRF achieves SoTA few-shot learning capacity in 3D model reconstruction. "
|
34 |
+
"Thanks to the 2D supervision by `CLIP (aka. _Semantic Consisteny Loss_)`, "
|
35 |
+
"it can render novel and challenging views with **ONLY 8 training images**, "
|
36 |
+
"**outperforming original NeRF**!"
|
37 |
)
|
38 |
st.markdown(caption)
|
39 |
st.markdown("")
|
|
|
116 |
st.markdown("")
|
117 |
|
118 |
with st.spinner("Rendering View..."):
|
119 |
+
with st.spinner("It may take 2-3 mins. So, why don't you look at our report in the meantime if you haven't already"):
|
120 |
dn_pred_color, _ = render_predict_from_pose(diet_nerf_state, theta, phi, radius)
|
121 |
dn_im = predict_to_image(dn_pred_color)
|
122 |
dn_w, _ = dn_im.size
|
|
|
139 |
"""<h4 style='text-align: center'>NeRF</h4>""", unsafe_allow_html=True
|
140 |
)
|
141 |
nerf_col.image(n_im, use_column_width=True)
|
142 |
+
|
143 |
+
st.markdown(
|
144 |
+
"> 📒 NOTE: The views may look similar to you but see the "
|
145 |
+
"[Experimental Results](https://www.notion.so/DietNeRF-Putting-NeRF-on-a-Diet-4aeddae95d054f1d91686f02bdb74745#0f6bc8f1008d4765b9b4635999626d4b) "
|
146 |
+
"section in our report to get a detailed comparison of DietNeRF and NeRF."
|
147 |
+
)
|