

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 为 Deadline Cloud 构建 nerF Studio con
<a name="examples-conda-nerfstudio"></a>

[nerfstudio rattler-build 配方包 nerF Studio](https://github.com/aws-deadline/deadline-cloud-samples/tree/mainline/conda_recipes/nerfstudio) [以及以下内容：](https://docs.nerf.studio/)
+ [Splatfacto in the Wild](https://docs.nerf.studio/nerfology/methods/splatw.html) 外部模型。
+ nerF Studio 依赖项在 conda-forge 上尚不可用。
+ [nerfstudio/gsplat](https://github.com/nerfstudio-project/gsplat)软件包的`simple_trainer.py`示例，可用作命令`gsplat_simple_trainer`。
+ [KevinXu02/splatfacto-w](https://github.com/KevinXu02/splatfacto-w)软件包的`export_script.py`，可用作命令`splatfactow_export`。

要构建此配方，请部署 [CUDA 场 CloudFormation 模板](https://github.com/aws-deadline/deadline-cloud-samples/tree/mainline/cloudformation/farm_templates/cuda_farm)来创建一个 Deadline Cloud 场，其中包含 CUDA 队列进行构建，然后提交软件包构建任务：

```
./submit-package-job nerfstudio
```

要在作业之间重用 conda 环境，请将 conda\_qu [eue\_env\_improved\_caching.yaml 队列](https://github.com/aws-deadline/deadline-cloud-samples/blob/mainline/queue_environments/conda_queue_env_improved_caching.yaml)环境附加到你的队列中。由于 nerF Studio 的依赖关系关闭包含许多 GB 的软件包，因此缓存可以节省大量时间和带宽。

有关使用此包的任务捆绑包，请参阅[来自 Deadline Cloud 视频的 3D 高斯飞溅训练](examples-jb-gaussian-splatting.md)。