edbeeching HF staff commited on
Commit
a596023
1 Parent(s): eba76f9

Upload folder using huggingface_hub

Browse files
bin/ItemSortingCart.pck CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cc9ff9a061b7b40ab6b6e64dc53f810f981475b87899f82030bc9b4101a6d135
3
- size 1320544
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc5b5d3f77e91e546b87e8b041bdf0a7bb4f4474775edfcedff00aff6faeb9ad
3
+ size 1364400
project.godot CHANGED
@@ -12,7 +12,7 @@ config_version=5
12
 
13
  config/name="ItemSortingCartExample"
14
  config/description="A RL example of a cart that sorts items by category."
15
- run/main_scene="res://scenes/batch_scene.tscn"
16
  config/features=PackedStringArray("4.2", "C#", "Forward Plus")
17
  config/icon="res://icon.svg"
18
 
 
12
 
13
  config/name="ItemSortingCartExample"
14
  config/description="A RL example of a cart that sorts items by category."
15
+ run/main_scene="res://scenes/training_scene.tscn"
16
  config/features=PackedStringArray("4.2", "C#", "Forward Plus")
17
  config/icon="res://icon.svg"
18
 
scenes/testing_scene.tscn ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [gd_scene load_steps=7 format=3 uid="uid://c7uiab12qu14e"]
2
+
3
+ [ext_resource type="PackedScene" uid="uid://ca6csk8y5nvuu" path="res://scenes/playing_area.tscn" id="1_4hh40"]
4
+ [ext_resource type="Script" path="res://addons/godot_rl_agents/sync.gd" id="2_kgrhh"]
5
+
6
+ [sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_hfpel"]
7
+ auto_exposure_enabled = true
8
+ dof_blur_far_distance = 21.3
9
+ dof_blur_amount = 0.3
10
+
11
+ [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_g5l5s"]
12
+
13
+ [sub_resource type="Sky" id="Sky_a413c"]
14
+ sky_material = SubResource("ProceduralSkyMaterial_g5l5s")
15
+
16
+ [sub_resource type="Environment" id="Environment_xy0xn"]
17
+ background_mode = 2
18
+ background_energy_multiplier = 1.2
19
+ sky = SubResource("Sky_a413c")
20
+ ssil_enabled = true
21
+ volumetric_fog_enabled = true
22
+ volumetric_fog_density = 0.01
23
+
24
+ [node name="testing_scene" type="Node3D"]
25
+
26
+ [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
27
+ transform = Transform3D(0.857167, 0.364187, -0.364187, 0, 0.707107, 0.707107, 0.515038, -0.606109, 0.606109, 0, 0, 0)
28
+ shadow_enabled = true
29
+
30
+ [node name="Camera3D" type="Camera3D" parent="."]
31
+ transform = Transform3D(-4.37114e-08, 0.532876, -0.846193, 0, 0.846193, 0.532876, 1, 2.32928e-08, -3.69883e-08, -5.495, 4.285, 0)
32
+ attributes = SubResource("CameraAttributesPractical_hfpel")
33
+ fov = 93.0
34
+ size = 65.0
35
+
36
+ [node name="playing_area" parent="." instance=ExtResource("1_4hh40")]
37
+
38
+ [node name="playing_area2" parent="." instance=ExtResource("1_4hh40")]
39
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 30)
40
+
41
+ [node name="playing_area3" parent="." instance=ExtResource("1_4hh40")]
42
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 0)
43
+
44
+ [node name="playing_area4" parent="." instance=ExtResource("1_4hh40")]
45
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 30)
46
+
47
+ [node name="playing_area5" parent="." instance=ExtResource("1_4hh40")]
48
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 60, 0, 0)
49
+
50
+ [node name="playing_area6" parent="." instance=ExtResource("1_4hh40")]
51
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 60, 0, 30)
52
+
53
+ [node name="playing_area7" parent="." instance=ExtResource("1_4hh40")]
54
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, 0)
55
+
56
+ [node name="playing_area8" parent="." instance=ExtResource("1_4hh40")]
57
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, 30)
58
+
59
+ [node name="playing_area9" parent="." instance=ExtResource("1_4hh40")]
60
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -60, 0, 0)
61
+
62
+ [node name="playing_area10" parent="." instance=ExtResource("1_4hh40")]
63
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -60, 0, 30)
64
+
65
+ [node name="playing_area11" parent="." instance=ExtResource("1_4hh40")]
66
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -90, 0, 0)
67
+
68
+ [node name="playing_area12" parent="." instance=ExtResource("1_4hh40")]
69
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -90, 0, 30)
70
+
71
+ [node name="playing_area13" parent="." instance=ExtResource("1_4hh40")]
72
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 60)
73
+
74
+ [node name="playing_area14" parent="." instance=ExtResource("1_4hh40")]
75
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 90)
76
+
77
+ [node name="playing_area15" parent="." instance=ExtResource("1_4hh40")]
78
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 60)
79
+
80
+ [node name="playing_area16" parent="." instance=ExtResource("1_4hh40")]
81
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 90)
82
+
83
+ [node name="playing_area17" parent="." instance=ExtResource("1_4hh40")]
84
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 60, 0, 60)
85
+
86
+ [node name="playing_area18" parent="." instance=ExtResource("1_4hh40")]
87
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 60, 0, 90)
88
+
89
+ [node name="playing_area19" parent="." instance=ExtResource("1_4hh40")]
90
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, 60)
91
+
92
+ [node name="playing_area20" parent="." instance=ExtResource("1_4hh40")]
93
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, 90)
94
+
95
+ [node name="playing_area21" parent="." instance=ExtResource("1_4hh40")]
96
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -60, 0, 60)
97
+
98
+ [node name="playing_area22" parent="." instance=ExtResource("1_4hh40")]
99
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -60, 0, 90)
100
+
101
+ [node name="playing_area23" parent="." instance=ExtResource("1_4hh40")]
102
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -90, 0, 60)
103
+
104
+ [node name="playing_area24" parent="." instance=ExtResource("1_4hh40")]
105
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -90, 0, 90)
106
+
107
+ [node name="playing_area25" parent="." instance=ExtResource("1_4hh40")]
108
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -60)
109
+
110
+ [node name="playing_area26" parent="." instance=ExtResource("1_4hh40")]
111
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -30)
112
+
113
+ [node name="playing_area27" parent="." instance=ExtResource("1_4hh40")]
114
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, -60)
115
+
116
+ [node name="playing_area28" parent="." instance=ExtResource("1_4hh40")]
117
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, -30)
118
+
119
+ [node name="playing_area29" parent="." instance=ExtResource("1_4hh40")]
120
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 60, 0, -60)
121
+
122
+ [node name="playing_area30" parent="." instance=ExtResource("1_4hh40")]
123
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 60, 0, -30)
124
+
125
+ [node name="playing_area31" parent="." instance=ExtResource("1_4hh40")]
126
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, -60)
127
+
128
+ [node name="playing_area32" parent="." instance=ExtResource("1_4hh40")]
129
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, -30)
130
+
131
+ [node name="playing_area33" parent="." instance=ExtResource("1_4hh40")]
132
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -60, 0, -60)
133
+
134
+ [node name="playing_area34" parent="." instance=ExtResource("1_4hh40")]
135
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -60, 0, -30)
136
+
137
+ [node name="playing_area35" parent="." instance=ExtResource("1_4hh40")]
138
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -90, 0, -60)
139
+
140
+ [node name="playing_area36" parent="." instance=ExtResource("1_4hh40")]
141
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -90, 0, -30)
142
+
143
+ [node name="WorldEnvironment" type="WorldEnvironment" parent="."]
144
+ environment = SubResource("Environment_xy0xn")
145
+
146
+ [node name="Sync" type="Node" parent="."]
147
+ script = ExtResource("2_kgrhh")
148
+ control_mode = 2
149
+ action_repeat = 15
150
+ speed_up = 4
151
+ onnx_model_path = "onnx/model.onnx"
scenes/training_scene.tscn ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [gd_scene load_steps=7 format=3 uid="uid://b4f2hcn0g5vjg"]
2
+
3
+ [ext_resource type="PackedScene" uid="uid://ca6csk8y5nvuu" path="res://scenes/playing_area.tscn" id="1_jusby"]
4
+ [ext_resource type="Script" path="res://addons/godot_rl_agents/sync.gd" id="2_a6ui1"]
5
+
6
+ [sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_hfpel"]
7
+ auto_exposure_enabled = true
8
+ dof_blur_far_distance = 21.3
9
+ dof_blur_amount = 0.3
10
+
11
+ [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_g5l5s"]
12
+
13
+ [sub_resource type="Sky" id="Sky_a413c"]
14
+ sky_material = SubResource("ProceduralSkyMaterial_g5l5s")
15
+
16
+ [sub_resource type="Environment" id="Environment_xy0xn"]
17
+ background_mode = 2
18
+ background_energy_multiplier = 1.2
19
+ sky = SubResource("Sky_a413c")
20
+ ssil_enabled = true
21
+ volumetric_fog_enabled = true
22
+ volumetric_fog_density = 0.01
23
+
24
+ [node name="training_scene" type="Node3D"]
25
+
26
+ [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
27
+ transform = Transform3D(0.857167, 0.364187, -0.364187, 0, 0.707107, 0.707107, 0.515038, -0.606109, 0.606109, 0, 0, 0)
28
+ shadow_enabled = true
29
+
30
+ [node name="Camera3D" type="Camera3D" parent="."]
31
+ transform = Transform3D(-4.37114e-08, 0.532876, -0.846193, 0, 0.846193, 0.532876, 1, 2.32928e-08, -3.69883e-08, -5.495, 4.285, 0)
32
+ attributes = SubResource("CameraAttributesPractical_hfpel")
33
+ fov = 93.0
34
+ size = 65.0
35
+
36
+ [node name="playing_area" parent="." instance=ExtResource("1_jusby")]
37
+
38
+ [node name="playing_area2" parent="." instance=ExtResource("1_jusby")]
39
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 30)
40
+
41
+ [node name="playing_area3" parent="." instance=ExtResource("1_jusby")]
42
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 0)
43
+
44
+ [node name="playing_area4" parent="." instance=ExtResource("1_jusby")]
45
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 30)
46
+
47
+ [node name="playing_area5" parent="." instance=ExtResource("1_jusby")]
48
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 60, 0, 0)
49
+
50
+ [node name="playing_area6" parent="." instance=ExtResource("1_jusby")]
51
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 60, 0, 30)
52
+
53
+ [node name="playing_area7" parent="." instance=ExtResource("1_jusby")]
54
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, 0)
55
+
56
+ [node name="playing_area8" parent="." instance=ExtResource("1_jusby")]
57
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, 30)
58
+
59
+ [node name="playing_area9" parent="." instance=ExtResource("1_jusby")]
60
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -60, 0, 0)
61
+
62
+ [node name="playing_area10" parent="." instance=ExtResource("1_jusby")]
63
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -60, 0, 30)
64
+
65
+ [node name="playing_area11" parent="." instance=ExtResource("1_jusby")]
66
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -90, 0, 0)
67
+
68
+ [node name="playing_area12" parent="." instance=ExtResource("1_jusby")]
69
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -90, 0, 30)
70
+
71
+ [node name="playing_area13" parent="." instance=ExtResource("1_jusby")]
72
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 60)
73
+
74
+ [node name="playing_area14" parent="." instance=ExtResource("1_jusby")]
75
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 90)
76
+
77
+ [node name="playing_area15" parent="." instance=ExtResource("1_jusby")]
78
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 60)
79
+
80
+ [node name="playing_area16" parent="." instance=ExtResource("1_jusby")]
81
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, 90)
82
+
83
+ [node name="playing_area17" parent="." instance=ExtResource("1_jusby")]
84
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 60, 0, 60)
85
+
86
+ [node name="playing_area18" parent="." instance=ExtResource("1_jusby")]
87
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 60, 0, 90)
88
+
89
+ [node name="playing_area19" parent="." instance=ExtResource("1_jusby")]
90
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, 60)
91
+
92
+ [node name="playing_area20" parent="." instance=ExtResource("1_jusby")]
93
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, 90)
94
+
95
+ [node name="playing_area21" parent="." instance=ExtResource("1_jusby")]
96
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -60, 0, 60)
97
+
98
+ [node name="playing_area22" parent="." instance=ExtResource("1_jusby")]
99
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -60, 0, 90)
100
+
101
+ [node name="playing_area23" parent="." instance=ExtResource("1_jusby")]
102
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -90, 0, 60)
103
+
104
+ [node name="playing_area24" parent="." instance=ExtResource("1_jusby")]
105
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -90, 0, 90)
106
+
107
+ [node name="playing_area25" parent="." instance=ExtResource("1_jusby")]
108
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -60)
109
+
110
+ [node name="playing_area26" parent="." instance=ExtResource("1_jusby")]
111
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -30)
112
+
113
+ [node name="playing_area27" parent="." instance=ExtResource("1_jusby")]
114
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, -60)
115
+
116
+ [node name="playing_area28" parent="." instance=ExtResource("1_jusby")]
117
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -30, 0, -30)
118
+
119
+ [node name="playing_area29" parent="." instance=ExtResource("1_jusby")]
120
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 60, 0, -60)
121
+
122
+ [node name="playing_area30" parent="." instance=ExtResource("1_jusby")]
123
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 60, 0, -30)
124
+
125
+ [node name="playing_area31" parent="." instance=ExtResource("1_jusby")]
126
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, -60)
127
+
128
+ [node name="playing_area32" parent="." instance=ExtResource("1_jusby")]
129
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30, 0, -30)
130
+
131
+ [node name="playing_area33" parent="." instance=ExtResource("1_jusby")]
132
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -60, 0, -60)
133
+
134
+ [node name="playing_area34" parent="." instance=ExtResource("1_jusby")]
135
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -60, 0, -30)
136
+
137
+ [node name="playing_area35" parent="." instance=ExtResource("1_jusby")]
138
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -90, 0, -60)
139
+
140
+ [node name="playing_area36" parent="." instance=ExtResource("1_jusby")]
141
+ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -90, 0, -30)
142
+
143
+ [node name="WorldEnvironment" type="WorldEnvironment" parent="."]
144
+ environment = SubResource("Environment_xy0xn")
145
+
146
+ [node name="Sync" type="Node" parent="."]
147
+ script = ExtResource("2_a6ui1")
148
+ action_repeat = 15
149
+ speed_up = 4