I’m trying to complete the tutorials at Playlist | SERIES - Replicator 1.10 Workflow Tutorial | NVIDIA On-Demand using Isaac Sim because I haven’t found where to get Omniverse Code. The replicator generates 10 images after completing the steps in the 1st 3 videos, but only the 1st image has a defect and I get the following warnings in the console when I click on Create Replicator Graph:
No valid prim at path given: /Replicator
Warning: in SdfPath at line 81 of c:\g\97199581\usd\sdf\path.cpp – Ill-formed sdfpath <>:syntax error
No root directory specified in carb setting
Trigger.on_frame argument num_frames will be deprecated. Please use max_execs
OgnSdPostRendorVarToHost
and additional warnings when I click on Run for:
getTypes called non-existent path /Rendor/OmniverseKit/HydraTextures/Replicator
Trigger.on_frame argument num_frames will be deprecated. Please use max_execs
invalid operation: foundation object exists already. Only one instance per process can be created
Is Omniverse Code still available? Should Isaac Sim work? Any suggestions? Thanks.
I’m getting the same warnings when I try using Isaac Sim to follow the tutorial at Creating a basic scene and using it to generated synthetic data with Replicator — Omniverse Extensions latest documentation (nvidia.com)
When I run just the 1st section of code import omni.replicator.core as rep, I get Warning: in SdfPath at line 81 of c:\g\97199581\usd\sdf\path.cpp – Ill-formed sdfpath <>:syntax error.
When I run just the 3rd section of the script starting with rep.trigger.on_frame(num_frames=100): after running the 1st 2 sections, I got:
[omni.repicator.core.scripts.trigger] ‘trigger.on.frame’ argument ‘num_frames’ will be deprecated. Please use ‘max_execs’.
[omni.repicator.core.scripts.backends.disk] No root directory specified in carb setting ‘/omni/replicator/backends/disk/root_dir’. Writing data to C:\Users\bolmsted\omni.replicator_out_output
[omni.syntheticdata.plugin] OgnSdPostRendorVarToHost : rendervar copy from texture directly to host buffer us counter-preformant. Please use copy from texture to device buffer first.
When I run the complete script, I also get:
[omni.fabric.plugin] getTypes called non-existent path /Rendor/OmniverseKit/HydraTextures/Replicator
[omni.fabric.plugin] removePath called on non-existent path /Render/PostProcess/SDGPipeline/Replicator_SemanticPcclusionSDHostPtr
[omni.replicator.cor.script.trigger] ‘trigger.on_frame’ argument ‘num_frames’ will be deprecated. Please use ‘max_execs’.
[omni.replicator.cor.script.trigger] No root directory specified in carb setting ‘/omni/replicator/backends/disk/root_dir’. Writing data to C:\Users\bolmsted\omni.replicator_out_output
When I Start from the replicator menu, it adds images to _output, but they are all black even though I see the 3 shapes moving in Isaac Sim when it runs.
The warning messages probably aren’t causing the 2-9 images of the car panel not to have a defect because I get the same warnings when I run the Hello World example given on Creating a basic scene and using it to generated synthetic data with Replicator — Omniverse Extensions latest documentation (nvidia.com) which I now am getting good results. I found that I needed to add a rotation to the camera for the hello world example because it wasn’t pointing towards the objects. Now each image generated for the hello world example are different as expected.
The 1st image I get from the Generate Synthetic Data tutorial is the same as I get from clicking on preview with a large scratch even though I have reduced the max defect dimensions. I’m not sure why the images generated after the 1st don’t have a defect, only the car panel.
I have been using Render Subframe Count=16 per the tutorial. If I set Render Subframe Count=1, I get the same scratch size & orientation but it gets progressively dimmer in frames 2-9 & I can still see it in frame 9. If I set Render Subframe Count=4, it does something similar but it is too dim to see by frame 5 or 6.
I’m finally getting images in addition to the 1st one that have random scratches in random orientations & size
The only difference I did this time is I left the Defect Dimensions Width & Length at the default Min 0.1 & Max 1.0 & not change them to 0.01 & 0.02 which makes the scratches too small to see. Also had to select the scratch folder with the _D, _N & _R that is in Downloads\kit-extension-sample-defectsgen-main\exts\omni.example.defects\omni\example\defects\data\scratches rather than Downloads\ov-defectdetection-demo-1.0.2\Scratches as the tutorial indicates that don’t have the dash letters. To change scratch folder, go to folder level above, scratch in for file name & click on import directory next to cancel on right. If you leave the default camera position and rotation it is hard to see (above ceiling if add code to randomize camera position in 4th tutorial) & has a different view than shown in tutorials. I set the camera position & rotation to 192.9 73.2 5.3 & 0 90 28 which they are later in video 4 & it works well. I tried this in Omniverse USD Composer which is the replacement for Omniverse Code, but I got errors, so I’m sticking with Isaac Sim.