Skip to content

Commit 9edf76d

Browse files
committed
修改了资产路径,解决了训练时从云端下载资产导致卡死的问题
1 parent f1a4975 commit 9edf76d

File tree

6 files changed

+39
-16
lines changed

6 files changed

+39
-16
lines changed

apps/isaaclab.python.headless.kit

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,10 @@ enabled=true # Enable this for DLSS
194194
# set the S3 directory manually to the latest published S3
195195
# note: this is done to ensure prior versions of Isaac Sim still use the latest assets
196196
[settings]
197-
persistent.isaac.asset_root.default = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
198-
persistent.isaac.asset_root.cloud = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
199-
persistent.isaac.asset_root.nvidia = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
197+
# persistent.isaac.asset_root.default = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
198+
# persistent.isaac.asset_root.cloud = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
199+
# persistent.isaac.asset_root.nvidia = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
200+
201+
persistent.isaac.asset_root.default = "/home/user/isaacsim_assets/Assets/Isaac/4.5"
202+
persistent.isaac.asset_root.cloud = "/home/user/isaacsim_assets/Assets/Isaac/4.5"
203+
persistent.isaac.asset_root.nvidia = "/home/user/isaacsim_assets/Assets/Isaac/4.5"

apps/isaaclab.python.headless.rendering.kit

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,12 @@ folders = [
145145
# set the S3 directory manually to the latest published S3
146146
# note: this is done to ensure prior versions of Isaac Sim still use the latest assets
147147
[settings]
148-
persistent.isaac.asset_root.default = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
149-
persistent.isaac.asset_root.cloud = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
150-
persistent.isaac.asset_root.nvidia = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
148+
# persistent.isaac.asset_root.default = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
149+
# persistent.isaac.asset_root.cloud = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
150+
# persistent.isaac.asset_root.nvidia = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
151+
152+
persistent.isaac.asset_root.default = "/home/user/isaacsim_assets/Assets/Isaac/4.5"
153+
persistent.isaac.asset_root.cloud = "/home/user/isaacsim_assets/Assets/Isaac/4.5"
154+
persistent.isaac.asset_root.nvidia = "/home/user/isaacsim_assets/Assets/Isaac/4.5"
155+
156+

apps/isaaclab.python.kit

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,10 @@ fabricUpdateJointStates = false
297297
# set the S3 directory manually to the latest published S3
298298
# note: this is done to ensure prior versions of Isaac Sim still use the latest assets
299299
[settings]
300-
persistent.isaac.asset_root.default = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
301-
persistent.isaac.asset_root.cloud = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
302-
persistent.isaac.asset_root.nvidia = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
300+
# persistent.isaac.asset_root.default = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
301+
# persistent.isaac.asset_root.cloud = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
302+
# persistent.isaac.asset_root.nvidia = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
303+
304+
persistent.isaac.asset_root.default = "/home/user/isaacsim_assets/Assets/Isaac/4.5"
305+
persistent.isaac.asset_root.cloud = "/home/user/isaacsim_assets/Assets/Isaac/4.5"
306+
persistent.isaac.asset_root.nvidia = "/home/user/isaacsim_assets/Assets/Isaac/4.5"

apps/isaaclab.python.rendering.kit

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@ folders = [
143143
# set the S3 directory manually to the latest published S3
144144
# note: this is done to ensure prior versions of Isaac Sim still use the latest assets
145145
[settings]
146-
persistent.isaac.asset_root.default = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
147-
persistent.isaac.asset_root.cloud = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
148-
persistent.isaac.asset_root.nvidia = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
146+
# persistent.isaac.asset_root.default = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
147+
# persistent.isaac.asset_root.cloud = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
148+
# persistent.isaac.asset_root.nvidia = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
149+
150+
persistent.isaac.asset_root.default = "/home/user/isaacsim_assets/Assets/Isaac/4.5"
151+
persistent.isaac.asset_root.cloud = "/home/user/isaacsim_assets/Assets/Isaac/4.5"
152+
persistent.isaac.asset_root.nvidia = "/home/user/isaacsim_assets/Assets/Isaac/4.5"

apps/isaaclab.python.xr.openxr.kit

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ folders = [
6161
# set the S3 directory manually to the latest published S3
6262
# note: this is done to ensure prior versions of Isaac Sim still use the latest assets
6363
[settings]
64-
persistent.isaac.asset_root.default = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
65-
persistent.isaac.asset_root.cloud = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
66-
persistent.isaac.asset_root.nvidia = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
64+
# persistent.isaac.asset_root.default = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
65+
# persistent.isaac.asset_root.cloud = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
66+
# persistent.isaac.asset_root.nvidia = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/4.5"
67+
68+
persistent.isaac.asset_root.default = "/home/user/isaacsim_assets/Assets/Isaac/4.5"
69+
persistent.isaac.asset_root.cloud = "/home/user/isaacsim_assets/Assets/Isaac/4.5"
70+
persistent.isaac.asset_root.nvidia = "/home/user/isaacsim_assets/Assets/Isaac/4.5"

source/isaaclab/isaaclab/utils/assets.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
import carb
2222
import omni.client
2323

24-
NUCLEUS_ASSET_ROOT_DIR = carb.settings.get_settings().get("/persistent/isaac/asset_root/cloud")
24+
# NUCLEUS_ASSET_ROOT_DIR = carb.settings.get_settings().get("/persistent/isaac/asset_root/cloud")
25+
NUCLEUS_ASSET_ROOT_DIR = "/home/user/isaacsim_assets/Assets/Isaac/4.5"
2526
"""Path to the root directory on the Nucleus Server."""
2627

2728
NVIDIA_NUCLEUS_DIR = f"{NUCLEUS_ASSET_ROOT_DIR}/NVIDIA"

0 commit comments

Comments
 (0)