RLSeq2Seq
RLSeq2Seq copied to clipboard
two many arguments on calc_reward
there is an error from an update on model.py
return [self.calc_reward(t, _ss,_gts) for t in range(1,self._hps.max_dec_steps+1)] the def calc_reward(self, _ss, _gts) only take 2 arguments maybe it is
return [self.calc_reward(_ss,_gts) for t in range(1,self._hps.max_dec_steps+1)]
or maybe we should use function reward (def reward(self, t, _ss, _gts, vsize_extended):)