Skip to content

Commit 279b890

Browse files
authored
Merge pull request #2267 from alicevision/dev/optionalCuda
ImageSegmentation: add an option to choose between cpu and gpu
2 parents d1c0fd2 + 4e5e3b5 commit 279b890

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

meshroom/nodes/aliceVision/ImageSegmentation.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ class ImageSegmentation(desc.AVCommandLineNode):
5757
value=False,
5858
uid=[0],
5959
),
60+
desc.BoolParam(
61+
name="useGpu",
62+
label="Use GPU",
63+
description="Use GPU for computation if available",
64+
value=True,
65+
uid=[],
66+
),
6067
desc.ChoiceParam(
6168
name="verboseLevel",
6269
label="Verbose Level",

0 commit comments

Comments
 (0)