Spaces:
Runtime error
Runtime error
Update app.py
Browse files153 unmodified lines154155156157158159160161162163165 unmodified lines329330331332333334335336153 unmodified linesrender.scene.add_geometry('mesh', mesh, mat)def generate_images():for i in range(64):gr.Markdown("""<p>( <b>Note</b>: For composing CLEVR objects, we recommend using <b><i>x</i></b> in range <b><i>[0.1,0.9]</i></b> and <b><i>y</i></b> in range <b><i>[0.25, 0.7]</i></b>, since the training dataset labels are ingiven ranges.)</p><hr>""")# RotationR = mesh.get_rotation_matrix_from_xyz((0, 0, np.pi / 32))mesh.rotate(R, center=(0, 0, 0))165 unmodified lines</td><td><figure><img src="https://media.giphy.com/media/lTzdW41bFnrD8AYa0K/giphy.gif" style="text-align:center; width:100%; display:block; margin:auto;"><figcaption style="color: black; font-size: 15px; text-align: center;">"A toilet" <span style="color: red">AND</span> "A chair"</figcaption></figure></td><td>153 unmodified lines154155156157158159160165 unmodified lines326327328329330331332333153 unmodified linesrender.scene.add_geometry('mesh', mesh, mat)def generate_images():for i in range(64):# RotationR = mesh.get_rotation_matrix_from_xyz((0, 0, np.pi / 32))mesh.rotate(R, center=(0, 0, 0))165 unmodified lines</td><td><figure><img src="https://media.giphy.com/media/LDmNSM9NmNpaljMKiF/giphy.gif" style="text-align:center; width:100%; display:block; margin:auto;"><figcaption style="color: black; font-size: 15px; text-align: center;">"A chair" <span style="color: red">AND NOT</span> "Chair legs"</figcaption></figure></td><td>
app.py+3-6