File size: 3,725 Bytes
43b6a47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<h1>Controls</h1>
<div id="controls">
    <table>
        <th>Binding</th>
        <th>Description</th>
        <tr>
            <td>Right Mouse Click (Drag)</td>
            <td>
                Rotates the camera in the direction of the mouse drag.
            </td>
        </tr>
        <tr>
            <td>Left Mouse Click</td>
            <td>
                Sets the goal point to the location on the terrain where you clicked.
            </td>
        </tr>
        <tr>
            <td>W</td>
            <td>
                Move forward.
            </td>
        </tr>
        <tr>
            <td>S</td>
            <td>
                Move backward.
            </td>
        </tr>
        <tr>
            <td>A</td>
            <td>
                Move left.
            </td>
        </tr>
        <tr>
            <td>D</td>
            <td>
                Move right.
            </td>
        </tr>
        <tr>
            <td>E</td>
            <td>Move up.</td>
        </tr>
        <tr>
            <td>Q</td>
            <td>Move down.</td>
        </tr>
        <tr>
            <td>R</td>
            <td>
                Restart the episode.
                Note that the terrain does not change even if you are in random mode.
                Deformations to the terrain are preserved as well.
            </td>
        </tr>
        <tr>
            <td>1</td>
            <td>
                <div class="cellHeader">Terrain Mode: RANDOM</div>
                Restart with a random terrain shape (no perlin noise).
            </td>
        </tr>
        <tr>
            <td>2</td>
            <td>
                <div class="cellHeader">Terrain Mode: RANDOM_NOISE</div>
                Restart with a random terrain shape (with perlin noise).
            </td>
        </tr>
        <tr>
            <td>3</td>
            <td>
                <div class="cellHeader">Terrain Mode: GAUSSIAN_SLOPE</div>
                Restart with a gaussian slope shaped terrain.
            </td>
        </tr>
        <tr>
            <td>4</td>
            <td>
                <div class="cellHeader">Terrain Mode: POINTY_GAUSSIAN_SLOPE</div>
                Restart with a <i>pointy</i> gaussian slope shaped terrain.
            </td>
        </tr>
        <tr>
            <td>5</td>
            <td>
                <div class="cellHeader">Terrain Mode: TRAPEZOIDAL_HILL</div>
                Restart with a trapezoidal hill shaped terrain.
            </td>
        </tr>
    </table>
</div>
<h1>Disclaimer</h1>
<div id="disclaimerBody">
    <p>
        <a target=”_blank” href="https://docs.unity3d.com/Packages/com.unity.ml-agents@2.2/manual/index.html#inference">
            Unfortunately, MLAgents doesn't support GPU inference for WebGL builds.
        </a><br>
        The excavator model was originally trained with a larger neural network and yielded good results, but the
        model was too large to run smoothly on the CPU.
        The current model was trained with a smaller model. Although it can run more smoothly on the CPU, the
        performance isn't as good as that of the larger model.
    </p>
    <p>
        If you would like to try out the larger model as well, refer to <a
            href="https://huggingface.co/spaces/cm107/excav_demo">excav_demo</a>.
        When using the larger model, it is recommended that you download the build corresponding to your specific
        target
        platform.
    </p>
    <p>
        For more information about WebGL performance considerations, refer to
        <a target=”_blank” href="https://docs.unity3d.com/Manual/webgl-performance.html">
            the unity documentation
        </a>.
    </p>
</div>