hongzimao / pensieve

Neural Adaptive Video Streaming with Pensieve (SIGCOMM '17)
http://web.mit.edu/pensieve/
MIT License
517 stars 280 forks source link

correct bug #105

Closed pengyuan-zhou closed 3 years ago

pengyuan-zhou commented 4 years ago

With previous code, if len(s_batch) is zero, a bug will appear. Because in that case state will have length~1 and not able to assign state[1, -1], state[2, -1] and so on.