repo
stringlengths
1
99
file
stringlengths
13
215
code
stringlengths
12
59.2M
file_length
int64
12
59.2M
avg_line_length
float64
3.82
1.48M
max_line_length
int64
12
2.51M
extension_type
stringclasses
1 value
entropy_reward
entropy_reward-main/alf/optimizers/adamw.py
# Copyright (c) 2021 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
6,231
36.769697
94
py
entropy_reward
entropy_reward-main/alf/optimizers/adam_tf.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
6,130
39.335526
100
py
entropy_reward
entropy_reward-main/alf/utils/distributions.py
# Copyright (c) 2021 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
9,677
29.24375
101
py
entropy_reward
entropy_reward-main/alf/utils/losses.py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
1,221
25.565217
74
py
entropy_reward
entropy_reward-main/alf/utils/averager.py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
9,394
30.739865
83
py
entropy_reward
entropy_reward-main/alf/utils/summary_utils.py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
16,212
34.32244
99
py
entropy_reward
entropy_reward-main/alf/utils/value_ops_test.py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
6,589
36.231638
79
py
entropy_reward
entropy_reward-main/alf/utils/tensor_utils.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
13,238
32.263819
90
py
entropy_reward
entropy_reward-main/alf/utils/spec_utils.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
3,859
31.991453
96
py
entropy_reward
entropy_reward-main/alf/utils/action_quantizer.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
3,906
34.844037
80
py
entropy_reward
entropy_reward-main/alf/utils/checkpoint_utils_test.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
22,038
36.291032
83
py
entropy_reward
entropy_reward-main/alf/utils/math_ops.py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
11,167
29.513661
99
py
entropy_reward
entropy_reward-main/alf/utils/dist_utils_test.py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
15,617
40.427056
80
py
entropy_reward
entropy_reward-main/alf/utils/datagen.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
9,118
33.411321
83
py
entropy_reward
entropy_reward-main/alf/utils/dist_utils.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
47,093
37.194647
166
py
entropy_reward
entropy_reward-main/alf/utils/checkpoint_utils.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
11,974
38.652318
86
py
entropy_reward
entropy_reward-main/alf/utils/common_test.py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
2,624
32.653846
79
py
entropy_reward
entropy_reward-main/alf/utils/common.py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
40,276
32.204452
133
py
entropy_reward
entropy_reward-main/alf/utils/normalizers.py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
15,659
38.052369
82
py
entropy_reward
entropy_reward-main/alf/utils/process_coordinator_test.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
14,317
32.453271
130
py
entropy_reward
entropy_reward-main/alf/utils/lean_function_test.py
# Copyright (c) 2021 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
3,364
33.336735
80
py
entropy_reward
entropy_reward-main/alf/utils/tensor_utils_test.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
2,617
38.666667
80
py
entropy_reward
entropy_reward-main/alf/utils/distributions_test.py
# Copyright (c) 2021 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
2,919
29.736842
80
py
entropy_reward
entropy_reward-main/alf/utils/external_configurables.py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
1,953
41.478261
80
py
entropy_reward
entropy_reward-main/alf/utils/data_buffer.py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
20,655
37.973585
93
py
entropy_reward
entropy_reward-main/alf/utils/data_buffer_test.py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
11,512
39.681979
79
py
entropy_reward
entropy_reward-main/alf/utils/value_ops.py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
11,446
40.625455
81
py
entropy_reward
entropy_reward-main/alf/utils/conditional_ops.py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
3,059
33
82
py
entropy_reward
entropy_reward-main/alf/utils/conditional_ops_test.py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
3,321
35.911111
76
py
entropy_reward
entropy_reward-main/alf/utils/math_ops_test.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
1,322
34.756757
80
py
entropy_reward
entropy_reward-main/alf/utils/lean_function.py
# Copyright (c) 2021 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
8,282
39.602941
117
py
entropy_reward
entropy_reward-main/alf/utils/normalizers_test.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
4,534
37.109244
80
py
entropy_reward
entropy_reward-main/alf/utils/sl_utils.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
4,370
32.623077
81
py
entropy_reward
entropy_reward-main/alf/environments/suite_dmlab.py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
8,509
34.458333
93
py
entropy_reward
entropy_reward-main/alf/environments/random_alf_environment_test.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
7,025
37.184783
80
py
entropy_reward
entropy_reward-main/alf/environments/process_environment_test.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
4,535
32.352941
80
py
entropy_reward
entropy_reward-main/alf/environments/suite_unittest.py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
10,063
31.569579
87
py
entropy_reward
entropy_reward-main/alf/environments/alf_environment_test.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
1,928
36.096154
80
py
entropy_reward
entropy_reward-main/alf/environments/parallel_environment_test.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
7,520
37.372449
82
py
entropy_reward
entropy_reward-main/alf/environments/suite_safety_gym_test.py
# Copyright (c) 2020 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
4,083
37.895238
79
py
entropy_reward
entropy_reward-main/alf/environments/suite_go.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
37,118
41.132804
109
py
entropy_reward
entropy_reward-main/alf/environments/suite_socialbot_test.py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
3,268
36.147727
75
py
entropy_reward
entropy_reward-main/alf/environments/alf_gym3_wrapper_test.py
# Copyright (c) 2021 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
4,075
37.45283
80
py
entropy_reward
entropy_reward-main/alf/environments/suite_carla.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
70,789
40.252914
133
py
entropy_reward
entropy_reward-main/alf/environments/alf_wrappers.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
33,548
35.948238
87
py
entropy_reward
entropy_reward-main/alf/environments/alf_gym_wrapper.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
9,995
34.7
88
py
entropy_reward
entropy_reward-main/alf/environments/suite_bsuite_test.py
# Copyright (c) 2021 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
2,379
34
75
py
entropy_reward
entropy_reward-main/alf/environments/suite_go_test.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
17,693
36.646809
80
py
entropy_reward
entropy_reward-main/alf/environments/suite_unittest_test.py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
5,192
36.359712
77
py
entropy_reward
entropy_reward-main/alf/environments/alf_wrappers_test.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
13,607
38.789474
86
py
entropy_reward
entropy_reward-main/alf/environments/alf_gym3_wrapper.py
# Copyright (c) 2021 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
17,655
38.235556
100
py
entropy_reward
entropy_reward-main/alf/environments/parallel_environment.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
7,883
35.669767
102
py
entropy_reward
entropy_reward-main/alf/environments/thread_environment.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
2,702
27.452632
86
py
entropy_reward
entropy_reward-main/alf/environments/suite_tic_tac_toe.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
7,463
37.474227
80
py
entropy_reward
entropy_reward-main/alf/environments/random_alf_environment.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
8,440
37.19457
100
py
entropy_reward
entropy_reward-main/alf/environments/suite_safety_gym.py
# Copyright (c) 2020 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
12,879
37.447761
120
py
entropy_reward
entropy_reward-main/alf/environments/suite_robotics.py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
6,612
33.087629
87
py
entropy_reward
entropy_reward-main/alf/environments/suite_tic_tac_toe_test.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
4,219
38.074074
80
py
entropy_reward
entropy_reward-main/alf/environments/suite_mario_test.py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
3,013
34.880952
74
py
entropy_reward
entropy_reward-main/alf/environments/process_environment.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
11,415
35.472843
102
py
entropy_reward
entropy_reward-main/alf/environments/suite_mario.py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
3,808
33.944954
86
py
entropy_reward
entropy_reward-main/alf/environments/suite_carla_test.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
5,079
29.97561
80
py
entropy_reward
entropy_reward-main/alf/environments/suite_socialbot.py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
5,376
34.609272
89
py
entropy_reward
entropy_reward-main/alf/environments/suite_highway_test.py
# Copyright (c) 2020 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
5,475
33.658228
77
py
entropy_reward
entropy_reward-main/alf/environments/alf_gym_wrapper_test.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
15,705
40.771277
83
py
entropy_reward
entropy_reward-main/alf/environments/thread_environment_test.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
3,299
37.372093
80
py
entropy_reward
entropy_reward-main/alf/trainers/policy_trainer.py
# Copyright (c) 2019 Horizon Robotics. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
29,816
38.027487
88
py
entropy_reward
entropy_reward-main/alf/trainers/policy_trainer_test.py
# Copyright (c) 2020 Horizon Robotics and ALF Contributors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
4,522
35.772358
80
py
isoEm
isoEm-main/base.py
import torch from torch import nn from collections import OrderedDict class Concatenate(nn.Module): """ Concatenate input tensors along a specified dimension. """ def __init__(self, dim=1): super(Concatenate, self).__init__() self.dim = dim def forward(self, *inputs): retu...
1,854
30.982759
102
py
isoEm
isoEm-main/modules.py
# Define all the modules we want to use in our UNet here. import torch import torch.nn as nn import torch.nn.functional as F from groupy.gconv.pytorch_gconv.p6_conv_axial import P6ConvZ2, P6ConvP6 from groupy.gconv.pytorch_gconv.pooling import plane_group_spatial_max_pooling, \ plane_group_orientational_max_pool...
8,865
39.669725
136
py
isoEm
isoEm-main/validation_experiment_MNIST_gendata.py
""" Module to generate the spherical mnist data set - taken from 'https://github.com/jonkhler/s2cnn/blob/master/examples/mnist/gendata.py' and modified. Licence of original code: MIT License Copyright (c) 2017 Taco Cohen, Mario Geiger, Jonas Köhler Permission is hereby granted, free of charge, to any person obtaini...
14,130
40.078488
149
py
isoEm
isoEm-main/ico_unet.py
import torch from torch import nn import numpy as np from collections import OrderedDict import torch.nn.functional as F from base import Concatenate, get_padding, skip_none_sequential from modules import PadP6ConvP6, PadP6ConvZ2, InPadP6ConvZ2, OutPadP6ConvZ2, \ UpSampleIco, DownSampleIco, Conv2dP...
20,650
42.022917
132
py
isoEm
isoEm-main/util.py
import os.path import numpy as np import pickle import json import torch import hashlib from sklearn.model_selection import train_test_split def flatten(l): """ flatten a 2d list into a 1d list """ return [item for sublist in l for item in sublist] def check_dict_conditions(dic, conditions, keywords...
7,875
35.803738
141
py
isoEm
isoEm-main/predict.py
import util from train import load_data, append_coords, find_and_load_dataset_description import os.path import pickle import gzip import numpy as np import torchvision.transforms as T import torch def predict_randomforest(x, model): """ Predict with the pixelwise random forest model. @param x: Input da...
14,720
40.584746
114
py
isoEm
isoEm-main/train.py
import util import os import pickle import gzip import numpy as np import torch import torchvision.transforms as T import torch.utils.data as data_utils import torch.nn as nn from torch.nn import BatchNorm3d as IcoBatchNorm2d from torch.utils.tensorboard import SummaryWriter from functools import partial from ico_...
41,926
48.037427
141
py
isoEm
isoEm-main/CoordConv/coordconv.py
import torch import torch.nn as nn import torch.nn.functional as F import torch.nn.modules.conv as conv import math # open questions: what is rank? --> Probably dimension of data. # what is with_r? --> class AddCoords(nn.Module): # module that adds coord channels. def __init__(self, cylindrical=False, use_cuda=...
4,290
37.657658
99
py
isoEm
isoEm-main/groupy/gconv/pytorch_gconv/pooling.py
import torch.nn.functional as F import torch def plane_group_spatial_max_pooling(x, ksize, stride=None, pad=0): xs = x.size() x = x.view(xs[0], xs[1] * xs[2], xs[3], xs[4]) x = F.max_pool2d(input=x, kernel_size=ksize, stride=stride, padding=pad) x = x.view(xs[0], xs[1], xs[2], x.size()[2], x.size()[3])...
1,194
37.548387
100
py
isoEm
isoEm-main/groupy/gconv/pytorch_gconv/check_transform_filter.py
import numpy as np import tensorflow as tf import torch from groupy.gconv.tensorflow_gconv.transform_filter import transform_filter_2d_nchw, transform_filter_2d_nhwc from groupy.gconv.make_gconv_indices import make_c4_z2_indices, make_c4_p4_indices,\ make_d4_z2_indices, make_d4_p4m_indices, flatten_indices from gr...
2,579
23.571429
109
py
isoEm
isoEm-main/groupy/gconv/pytorch_gconv/splithexgconv2d.py
from groupy import hexa import groupy.gconv.pytorch_gconv.splitgconv2d as splitgconv2d import torch from torch.nn import Parameter class SplitHexGConv2D(splitgconv2d.SplitGConv2D): """ """ def __init__(self, *args, **kwargs): """ """ super(SplitHexGConv2D, self).__init__(*args, **kw...
1,227
33.111111
109
py
isoEm
isoEm-main/groupy/gconv/pytorch_gconv/p4_conv.py
from groupy.gconv.pytorch_gconv.splitgconv2d import SplitGConv2D from groupy.gconv.make_gconv_indices import make_c4_z2_indices, make_c4_p4_indices class P4ConvZ2(SplitGConv2D): input_stabilizer_size = 1 output_stabilizer_size = 4 def make_transformation_indices(self, ksize): return make_c4_z2_i...
531
25.6
82
py
isoEm
isoEm-main/groupy/gconv/pytorch_gconv/splitgconv2d.py
import torch.nn as nn from torch.nn import Parameter import torch.nn.functional as F import torch import math from torch.nn.modules.utils import _pair # from groupy.gconv.pytorch_conv.TransformFilter import TransformGFilter from groupy.gconv.make_gconv_indices import * """ better: make it match the make_indices_funct...
4,421
37.789474
183
py
isoEm
isoEm-main/groupy/gconv/pytorch_gconv/check_gconv2d.py
import numpy as np import torch from torch.autograd import Variable from groupy.gconv.pytorch_gconv.splitgconv2d import P4ConvZ2, P4ConvP4, P4MConvZ2, P4MConvP4M def test_p4_net_equivariance(): from groupy.gfunc import Z2FuncArray, P4FuncArray import groupy.garray.C4_array as c4a im = np.random.randn(1, ...
3,103
25.991304
93
py
isoEm
isoEm-main/groupy/gconv/pytorch_gconv/p6_conv_axial.py
# from groupy.gconv.pytorch_gconv.splitgconv2d import SplitGConv2D from groupy.gconv.make_gconv_indices import \ make_c6_z2_indices, make_c6_p6_indices import groupy.gconv.pytorch_gconv.splithexgconv2d as splithexgconv2d class Z2ConvZ2(splithexgconv2d.SplitHexGConv2D): input_stabilizer_size = 1 output_st...
1,264
29.119048
68
py
DFAT-Information-Fusion
DFAT-Information-Fusion-master/hp_search_gtot.py
# Copyright (c) SenseTime. All Rights Reserved. from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import argparse import os import datetime os.environ["CUDA_VISIBLE_DEVICES"] = "3" #from DFAT.models.fus2fus import Gener...
12,894
42.12709
158
py
DFAT-Information-Fusion
DFAT-Information-Fusion-master/test_rgbt.py
# Copyright (c) SenseTime. All Rights Reserved. from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import argparse import os os.environ["CUDA_VISIBLE_DEVICES"] = "0" import math import pdb import cv2 import torch import...
9,482
35.6139
106
py
DFAT-Information-Fusion
DFAT-Information-Fusion-master/train_RFN.py
# Copyright (c) SenseTime. All Rights Reserved. from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import argparse import logging import os import time import math import json import random import numpy as np os.environ...
13,966
34.630102
141
py
DFAT-Information-Fusion
DFAT-Information-Fusion-master/eval_in_group.py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import os import datetime from tools.eval import main1 import torch import random import numpy as np tracker_name = ['dfat'] # tracker_dir = ['/data/Disk_B/zhangyong/vot...
2,267
32.850746
130
py
DFAT-Information-Fusion
DFAT-Information-Fusion-master/test_vot.py
# Copyright (c) SenseTime. All Rights Reserved. from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import argparse import os os.environ["CUDA_VISIBLE_DEVICES"] = "0" import math import pdb import cv2 import torch import...
13,279
43.266667
121
py
DFAT-Information-Fusion
DFAT-Information-Fusion-master/hp_vot.py
# from __future__ import division # from __future__ import print_function import argparse import os os.environ["CUDA_VISIBLE_DEVICES"] = "2" import cv2 import numpy as np import torch import random from random import randint from toolkit.datasets import DatasetFactory from toolkit.utils.region import vot_overlap, vot_...
17,568
45.234211
140
py
DFAT-Information-Fusion
DFAT-Information-Fusion-master/python_siam_base.py
# -*-coding:utf-8-*- import sys import cv2 import numpy as np import os del os.environ['MKL_NUM_THREADS'] from os.path import join import torch from DFAT.core.config import cfg from DFAT.models.model_builder import ModelBuilder from DFAT.tracker.tracker_builder import build_tracker from DFAT.utils.bbox import get_axis_...
2,892
23.939655
101
py
DFAT-Information-Fusion
DFAT-Information-Fusion-master/test_gtot.py
# Copyright (c) SenseTime. All Rights Reserved. from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import argparse import os import datetime os.environ["CUDA_VISIBLE_DEVICES"] = "0" #from DFAT.models.fus2fus import Gener...
9,503
42.004525
119
py
DFAT-Information-Fusion
DFAT-Information-Fusion-master/tools/test.py
# Copyright (c) SenseTime. All Rights Reserved. from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import argparse import os # os.environ["CUDA_VISIBLE_DEVICES"] = "0" import cv2 import torch import numpy as np from DF...
10,765
44.618644
109
py
DFAT-Information-Fusion
DFAT-Information-Fusion-master/tools/test_rgbt.py
# Copyright (c) SenseTime. All Rights Reserved. from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import argparse import os import pdb os.environ["CUDA_VISIBLE_DEVICES"] = "0" import math import cv2 import torch import...
16,073
39.386935
110
py
DFAT-Information-Fusion
DFAT-Information-Fusion-master/tools/hp_search.py
from __future__ import division from __future__ import print_function import argparse import os import cv2 import numpy as np import torch from toolkit.datasets import DatasetFactory from toolkit.utils.region import vot_overlap, vot_float2str from DFAT.models.model_builder import ModelBuilder from DFAT.tracker.tracke...
10,401
44.030303
101
py
DFAT-Information-Fusion
DFAT-Information-Fusion-master/tools/train_b.py
# Copyright (c) SenseTime. All Rights Reserved. from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import argparse import logging import os import time import math import json import random import numpy as np # os.envir...
11,272
34.009317
105
py
DFAT-Information-Fusion
DFAT-Information-Fusion-master/tools/train_r.py
# Copyright (c) SenseTime. All Rights Reserved. from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import argparse import logging import os import time import math import json import random import numpy as np # os.envir...
12,280
34.49422
109
py
DFAT-Information-Fusion
DFAT-Information-Fusion-master/tools/train.py
# Copyright (c) SenseTime. All Rights Reserved. from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import argparse import logging import os import time import math import json import random import numpy as np #os.enviro...
12,560
34.483051
80
py
DFAT-Information-Fusion
DFAT-Information-Fusion-master/DFAT/tracker/siammask_tracker.py
# Copyright (c) SenseTime. All Rights Reserved. from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import cv2 import numpy as np import torch from DFAT.core.config import cfg from DFAT.utils.bbox import cxy_wh_2_rect fr...
18,446
39.277293
131
py
DFAT-Information-Fusion
DFAT-Information-Fusion-master/DFAT/tracker/siamrpn_tracker.py
# Copyright (c) SenseTime. All Rights Reserved. from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import numpy as np import torch.nn.functional as F import torch from DFAT.core.config import cfg from DFAT.utils.anchor ...
10,351
38.212121
104
py
DFAT-Information-Fusion
DFAT-Information-Fusion-master/DFAT/tracker/base_tracker.py
# Copyright (c) SenseTime. All Rights Reserved. from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import cv2 import numpy as np import torch from DFAT.core.config import cfg class BaseTracker(object): """ Base tr...
3,281
33.1875
74
py