Commit 8a3f289b authored by Gabe Schwartz's avatar Gabe Schwartz Committed by Facebook GitHub Bot
Browse files

Fix readme typos.

Summary: Created from CodeHub with https://fburl.com/edit-in-codehub

Reviewed By: tsimk

Differential Revision: D58368652

fbshipit-source-id: 8f3f426f0825255e5e6d6b32b8f1bdb2cde6e161
parent ecc1df99
...@@ -24,8 +24,8 @@ where: ...@@ -24,8 +24,8 @@ where:
- **CUSTOM SHADING**: user implemented shading. - **CUSTOM SHADING**: user implemented shading.
- **edge_grad**: special module that computes gradients for the **rasterize** step which is not differentiable on its own. For details please see [**Rasterized Edge Gradients: Handling Discontinuities Differentiably**](https://arxiv.org/abs/2405.02508) - **edge_grad**: special module that computes gradients for the **rasterize** step which is not differentiable on its own. For details please see [**Rasterized Edge Gradients: Handling Discontinuities Differentiably**](https://arxiv.org/abs/2405.02508)
## Hellow Triangle ## Hello Triangle
The "Hellow Triangle" with DRTK would look like this: The "Hello Triangle" with DRTK would look like this:
```python ```python
import drtk import drtk
import torch as th import torch as th
...@@ -50,7 +50,7 @@ img = bary * (index_img != -1) ...@@ -50,7 +50,7 @@ img = bary * (index_img != -1)
save_image(img, "render.png") save_image(img, "render.png")
``` ```
![hellow triangle](doc/hellow_triangle.png) ![hello triangle](doc/hellow_triangle.png)
## Dependencies ## Dependencies
* PyTorch >= 2.1.0 * PyTorch >= 2.1.0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment