项目
关于
Machine Learning Toolset for Houdini
人工智能与机器学习实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Houdini MLOPs 3.0
Free and Open Source Machine Learning Plugin for Houdini developed by Ambrosiussen Holding and Entagma, Licensed and Distributed by Bismuth Consultancy B.V. By downloading or using the plugin (or any of its contents), you are agreeing to the LICENSE found in this repository and Terms of Service of Bismuth Consultancy B.V.
| Paul Ambrosiussen | Entagma | Discord |
|---|---|---|
Promo Video
Installing for Houdini
To install the plugin for the first time, follow these steps:
- Clone this repository and make note of the directory you have cloned it to.
- Copy the
MLOPs.jsonfile found in the repository root, and paste it in the $HOUDINI_USER_PREF_DIR/packages/ folder. - Edit the
MLOPs.jsonfile you just pasted, and modify the$MLOPSpath found inside. Set the path to where you cloned the repository to in step one. - Install
git. Follow the instructions for your relevant OS here. - Launch Houdini and open the
MLOPsshelf. Click theInstall Dependenciesshelf button. Restart Houdini once complete. - After restarting Houdini, open the
MLOPsshelf. Click theDownload Modelbutton. Optionally change theModel Nameparameter to a custom model, or just leave as is and hitDownloadto work with the default Stable Diffusion Model. - In the MLOPs nodes, use the dropdown on the
[type] Modelparameters to select a downloaded model to use. You can also provide a repo name from the Huggingface Library, and the nodes will download it for you. For examplerunwayml/stable-diffusion-v1-5.
Downloading Models
- By default,
$MLOPS_SD_MODELis the path to a SINGLE model used by all Stable Diffusion nodes by default. You can set this to be your preferred default model. - By default, the plugin will cache all downloaded models to the folder specified by
$MLOPS_MODELS. (Notice the S at the end) This will make them show up in the dropdowns for the model paths on the nodes. Both of the above varibles can be changed in theMLOPS.jsonto suit your preference.
Troubleshooting
- If you get an error saying "Torch not compiled with CUDA enabled". Uninstall pytorch in your system python, restart your PC and hit the
Install Dependenciesshelf button again. - Metal users should set the compute device on MLOPs nodes to "MPS", and set the following environment variable for it to work:
PYTORCH_ENABLE_MPS_FALLBACK=1 - If you get an error with "Could not load library cudnn_cnn_infer64_8.dll" and you have Octane installed as a plugin for Houdini, try disabling it and restart Houdini.
- If you get an error similar to: "Unexpected self.size(-1) must be divisible by 4 to view Byte as Float (different element sizes), but got 2683502, <class 'RuntimeError'>". Try deleting the model cache in
$MLOPS_MODELS/cache/[your model]and try again. This is likely caused by a corrupt cache. - Other plugins we know cause issues installing MLOPS dependencies: Renderman, Octane. Disable these while installing MLOPs and its dependencies. After installing MLOPs and its dependencies you can re-enable them.
- If you get strange Python errors and you have tried several things already, make sure you dont have a conflicting
PYTHONPATHenvironment variable set. If that is the case remove it and restart Houdini (And the Launcher if you use it)
Notes
- We have provided a basic example file in this repo. You can find it in the
hip/folder. - This plugin installs quite a few dependencies. You can find them in
requirements.txt. - Digital Assets (HDAs) are stored and distributed in the expanded format. You can use hotl to collapse them if need be.
探索相关项目
加载中…
