浏览代码

new images and md file updates

/main
mohsen.k 4 年前
当前提交
9956b31a
共有 12 个文件被更改,包括 1370 次插入16 次删除
  1. 6
      Tutorial/Phase1.md
  2. 12
      Tutorial/Phase2.md
  3. 2
      com.unity.perception/Samples/Tutorial Files.meta
  4. 85
      Tutorial/Images/cloud_icon.png
  5. 241
      Tutorial/Images/create_proj.png
  6. 165
      Tutorial/Images/light_2.png
  7. 129
      Tutorial/Images/light_rand_1.png
  8. 589
      Tutorial/Images/light_rand_2.png
  9. 141
      Tutorial/Images/signin.jpg
  10. 8
      Tutorial/Phase3.md
  11. 8
      com.unity.perception/Samples/Tutorial Files/Scenes.meta

6
Tutorial/Phase1.md


During the installation of Unity, you will be asked to choose which modules you would like to include. This will depend on the types of applications you eventually intend to build with your Unity installation; however, for the purposes of this tutorial, we need to make make sure _**Linux Build Support**_ is checked. In addition, if you do not already have _**Visual Studio**_ on your computer, the wizard will give you an option to install it. Go ahead and check this option, as we will need _**Visual Studio**_ for writing some simple scripts in Phase 2 of the tutorial.
* **Action**: Make sure the _**Linux Build Support**_ and _**Visual Studio**_ options are checked when selecting modules during installation.
* **Action**: Make sure the _**Linux Build Support**_ and _**Visual Studio**_ installation options are checked when selecting modules during installation.
When you first run Unity, you will be asked to open an existing project, or create a new one.

</p>
The simulation will take about a minute to complete (depending on your computer's hardware). Once the run is complete, you will see a message in the _**Console**_ tab of the editor, with information on where the generated data has been saved. An example is shown below (Mac OS):
Once the run is complete, you will see a message in the _**Console**_ tab of the editor, with information on where the generated data has been saved. An example is shown below (Mac OS):
<p align="center">
<img src="Images/dataset_written.png"/>

</p>
This concludes Phase 1 of the Perception tutoial. In the next phase, you will dive a little bit into randomization code and learn how to build your own custom Randomizer quickly. [Click here to continue to Phase 2: Custom Randomizations](Phase2.md)
This concludes Phase 1 of the Perception tutoial. In the next phase, you will dive a little bit into randomization code and learn how to build your own custom Randomizer. [Click here to continue to Phase 2: Custom Randomizations](Phase2.md)

12
Tutorial/Phase2.md


# Perception Tutorial
## Phase 2: Custom Randomizations
### Step 1: Build a Light Randomizer
### Step 1: Build a Lighting Randomizer
In Phase 1 of the tutorial, we learned how to use the Randomizers that are bundled with the Perception package to spawn background and foreground objects, and randomize their position, rotation, texture, and hue offset (color). In this phase, we will build a custom light Randomizer for the `Directional Light` object, affecting the light's intensity and color on each `Iteration`. We will also learn how to include certain data or logic inside a randomized object (such as the light) in order to more explicitly define and restrict its randomization behaviors.

### Step 2: Bundle Data and Logic Inside Randomizer Tags
### Step 2: Bundle Data and Logic Inside Randomization Tags
You may sometimes need to bundle certain randomization-related data or logic within an object that are inherent to the object itself. For instance, you may have multiple lights in the Scene but would like each of them to have their own unique range of intensities. It would be quite tedious to add a new Parameter to your light Randomizer for each of your lights. Furthermore, this would make your light Randomizer excessively tailored to one use-case, limiting the Randomizer's reusability.

<p align="center">
<img src="Images/light_rand_2.png" width="420"/>
</p>
* **Action**: Change the Y rotation of `Directional Light` to -60.
This makes the two lights illuminate the scene from opposing sides, each having a 30 degree angle with the background and foreground planes.
* **Action**: Open `MyLightRandomizerTag.cs` and modify it to match the code below:
```

* **Action**: Run your simulation, then pause it. Go to the _**Scene**_ view and inspect the color and intensity of each of the lights. Try turning each on and off to see how it affects the current frame.
By this point in the tutorial, we have learned how to set-up a Perception Scene, randomize our simulation, and verify our generated datasets using Dataset Insights. That said, the size of the dataset we created was only 1000 captures, which is not sufficient for model-training purposes. It is now time to generate a large-scale synthetic dataset with hundreds of thousands of frames using Unity Simulation.
[Click here to continue to Phase 3: Cloud](Phase3.md)

2
com.unity.perception/Samples/Tutorial Files.meta


fileFormatVersion: 2
guid: 1b2e1d3ac609f41ada5fe680cb28f297
guid: 60571322770d248e4a9a0115eeea7cee
folderAsset: yes
DefaultImporter:
externalObjects: {}

85
Tutorial/Images/cloud_icon.png

之前 之后
宽度: 777  |  高度: 51  |  大小: 20 KiB

241
Tutorial/Images/create_proj.png
文件差异内容过多而无法显示
查看文件

165
Tutorial/Images/light_2.png

之前 之后
宽度: 1062  |  高度: 288  |  大小: 51 KiB

129
Tutorial/Images/light_rand_1.png

之前 之后
宽度: 1050  |  高度: 206  |  大小: 38 KiB

589
Tutorial/Images/light_rand_2.png

之前 之后
宽度: 1034  |  高度: 722  |  大小: 96 KiB

141
Tutorial/Images/signin.jpg

之前 之后
宽度: 577  |  高度: 482  |  大小: 26 KiB

8
Tutorial/Phase3.md


# Perception Tutorial
## Phase 3: Cloud
In this phase of the tutorial, we will learn how to run our Scene on Unity Simulation. This will allow us to generate a much larger dataset than what is typically plausible on a workstation computer. To
In order to use Unity Simulation you need to first create a Unity account or login with your existing one. Once logged in, you will also need to sign-up for Unity Simulation.
* **Action** Click on the _**Cloud**_ button at the top-right corner of Unity Editor.

8
com.unity.perception/Samples/Tutorial Files/Scenes.meta


fileFormatVersion: 2
guid: 7e45d97f2d603456a8a4a1ed31771543
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
正在加载...
取消
保存