takoika / PrioritizedExperienceReplay

Yet another prioritized experience replay buffer implementation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weight normalization on list

YiTanJang opened this issue · comments

commented

on line 84 of prorportional.py

 weights /= max(weights) # Normalize for stability

should be fixed since weights is a list

weights = [ i/max(weights) for i in weights]