File size: 304 Bytes
1e71a55
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import torch

class AlgSolution:

    def __init__(self):
        pass

    def predicts(self, obs, current_score):
        proprio = obs['proprio']
        action_dim = (int(proprio.shape[-1]) - 12) // 3
        action = [0 for _ in range(action_dim)]
        return {'action': action, 'giveup': False}