Skip to content

Commit dbd98b1

Browse files
authored
Merge pull request #5 from peak/fix-v2
fix call ordering
2 parents 6c21c83 + e0e7ca1 commit dbd98b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

d3rlpy/algos/qlearning/torch/bc_impl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ def inner_predict_best_action(
190190
def compute_loss(
191191
self,
192192
obs_t: TorchObservation,
193-
embedding_t: Optional[torch.Tensor],
194193
act_t: torch.Tensor,
194+
embedding_t: Optional[torch.Tensor],
195195
) -> DiscreteImitationLoss:
196196
return compute_discrete_imitation_loss(
197197
policy=self._modules.imitator,

0 commit comments

Comments
 (0)