You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: demo/DeBERTa/README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ Note that the performance gap between BERT's self-attention and DeBERTa's disent
75
75
## Environment Setup
76
76
It is recommended to use docker for reproducing the following steps. Follow the setup steps in TensorRT OSS [README](https://github.com/NVIDIA/TensorRT#setting-up-the-build-environment) to build and launch the container and build OSS:
77
77
78
-
**Example: Ubuntu 20.04 on x86-64 with cuda-12.5 (default)**
78
+
**Example: Ubuntu 20.04 on x86-64 with cuda-12.8 (default)**
79
79
```bash
80
80
# Download this TensorRT OSS repo
81
81
git clone -b main https://github.com/nvidia/TensorRT TensorRT
parser.add_argument('--input-image', nargs='+', type=str, default=[], help="Path to the input image/images already prepared for ControlNet modality. For example: canny edged image for canny ControlNet, not just regular rgb image")
33
35
parser.add_argument('--controlnet-type', nargs='+', type=str, default=["canny"], help="Controlnet type, can be `None`, `str` or `str` list from ['canny', 'depth', 'hed', 'mlsd', 'normal', 'openpose', 'scribble', 'seg']")
@@ -41,15 +43,15 @@ def parseArgs():
41
43
# Controlnet configuration
42
44
ifnotisinstance(args.controlnet_type, list):
43
45
raiseValueError(f"`--controlnet-type` must be of type `str` or `str` list, but is {type(args.controlnet_type)}")
44
-
46
+
45
47
# Controlnet configuration
46
48
ifnotisinstance(args.controlnet_scale, list):
47
49
raiseValueError(f"`--controlnet-scale`` must be of type `float` or `float` list, but is {type(args.controlnet_scale)}")
48
-
50
+
49
51
# Check number of ControlNets to ControlNet scales
0 commit comments