whai362 / PSENet

Official Pytorch implementations of PSENet.
Apache License 2.0
1.17k stars 344 forks source link

Update eval_tt.sh #180

Open doem97 opened 2 years ago

doem97 commented 2 years ago

Here it still uses py2. For end to end det & eval purpose, I think change the version to py3 is better. I also change the PSENet/eval/tt/Deteval.py accordingly. (1. change function map to np.astype; 2. change py2.xrange to py3.range. )