cattery_nuke13_support v1.0
This location is for Registered Users Only.
Perhaps you need to login or register.
14.0, 13.2, 13.1, 13.0 or later
Windows


For Nuke14 you can download machine learning tools from https://community.foundry.com/cattery, put them in your /.nuke/Cattery folder, and Nuke14 will create nice menu for you.
But these tools also supported by Nuke13 because they all use Inference node inside. So I decided to make easy to install solution for you, so you can use those brand new nodes in both Nuke13 and Nuke14 versions.
Installation guide:
-put all downloaded files in your Cattery folder, right next to the machine learning tools. It should looks like this:
-add to /.nuke/init.py this line:
nuke.pluginAddPath('./Cattery')
For the first time you run any node from Cattery you may need to wait about 30 minutes while Nuke compile CUDA kernels. Quote from Nuke User Guide:
To use CopyCat, Deblur, Inference, or Upscale on Ampere GPUs in Nuke 13.2, the CUDA kernels need to compile the first time you use them. This process is only necessary once and should take about half an hour. The compiled kernels are stored in the CUDA cache which requires between 2147483648 bytes (2 GB) and 4294967296 bytes (4 GB) of storage.
The most of gizmos will appear only in Nuke 13.1 and later. If you wanna to make it work on Nuke 13.0 you should open cat.json file in your tool folder(MiDaS, ModNet, etc) and change minimum_nuke_version_required variable from 13.1(or whatever it is) to 13.0.
Comments
I installed but your script did not read to menu all the cat folder (MiDas, FaceMakeup, etc)
now can load the gizmo but there is issue
Thats what Nuke User Guide says about that:
Quote: In my case it was much faster, less than 30 minutes.
-add to C:/Users/userna me/.nuke/init.p y this line:
nuke.pluginAddPath('./Cattery')
Is this correct?
file = __file__
file = file.replace('\\','/')
def addPluginPathRe cursive(path):
nuke.pluginAddP ath(path)
lst = os.listdir(path )
for i in lst:
itemPath = '/'.join([path, i])
if os.path.isdir(i temPath):
addPluginPathRecursive(itemPath)
fullDir = os.path.dirname(file)
dirname = fullDir.split('/')[-1]
if dirname.lower() == 'cattery':
dirLst = os.listdir(full Dir)
for name in dirLst:
itemPath = '/'.join([fullD ir,name])
if os.path.isdir(i temPath):
addPluginPathRecursive(itemPath)
nuke.pluginAddPath('./Cattery')
I've also tried adding a command on menu.py
It keeps bringing the "unktnown command" message.
I mean the tutorial works and I have all catteries showing up but none of them works cause gizmos compatibility
Things I did:
Added the path on .init:
nuke.pluginAddPath('./ModNet')
and the command to create the node (the gizmo inside the folder)
m.addCommand("MODNet", "nuke.createNod e(\"MODNet\")")
And it still crashes
RSS feed for comments to this post