RLSeq2Seq icon indicating copy to clipboard operation
RLSeq2Seq copied to clipboard

two many arguments on calc_reward

Open TiagoMRodrigues opened this issue 5 years ago • 0 comments

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):)

TiagoMRodrigues avatar Apr 23 '19 15:04 TiagoMRodrigues