Spaces:
Build error
Build error
Set resize factor to 1.5
Browse files
app.py
CHANGED
@@ -88,7 +88,7 @@ caption = (
|
|
88 |
)
|
89 |
st.markdown(caption)
|
90 |
st.markdown(
|
91 |
-
"> 📒 **NOTE**: To get a detailed comparison of differences between `DietNeRF` and `NeRF`, you can take a look at the "
|
92 |
"[Experimental Results](https://www.notion.so/DietNeRF-Putting-NeRF-on-a-Diet-4aeddae95d054f1d91686f02bdb74745#0f6bc8f1008d4765b9b4635999626d4b) "
|
93 |
"section in our project report."
|
94 |
)
|
@@ -150,7 +150,7 @@ with st.spinner("Rendering view..."):
|
|
150 |
dn_pred_color, _ = render_predict_from_pose(diet_nerf_state, theta, phi, radius)
|
151 |
dn_im = predict_to_image(dn_pred_color)
|
152 |
dn_w, _ = dn_im.size
|
153 |
-
dn_new_w = int(
|
154 |
dn_im = dn_im.resize(size=(dn_new_w, dn_new_w))
|
155 |
|
156 |
# n_pred_color, _ = render_predict_from_pose(nerf_state, theta, phi, radius)
|
|
|
88 |
)
|
89 |
st.markdown(caption)
|
90 |
st.markdown(
|
91 |
+
"> 📒 **NOTE**: To get a detailed comparison of differences in results between `DietNeRF` and `NeRF`, you can take a look at the "
|
92 |
"[Experimental Results](https://www.notion.so/DietNeRF-Putting-NeRF-on-a-Diet-4aeddae95d054f1d91686f02bdb74745#0f6bc8f1008d4765b9b4635999626d4b) "
|
93 |
"section in our project report."
|
94 |
)
|
|
|
150 |
dn_pred_color, _ = render_predict_from_pose(diet_nerf_state, theta, phi, radius)
|
151 |
dn_im = predict_to_image(dn_pred_color)
|
152 |
dn_w, _ = dn_im.size
|
153 |
+
dn_new_w = int(1.5 * dn_w)
|
154 |
dn_im = dn_im.resize(size=(dn_new_w, dn_new_w))
|
155 |
|
156 |
# n_pred_color, _ = render_predict_from_pose(nerf_state, theta, phi, radius)
|