paraphraseGen icon indicating copy to clipboard operation
paraphraseGen copied to clipboard

run error

Open AllRiversRunIntoSea opened this issue 5 years ago • 4 comments

Hello! When I was training the model, the program reported an error at the 1560th iteration, causing the operation to fail. I want to kown the reason. Thanks Selection_008

AllRiversRunIntoSea avatar Oct 18 '19 12:10 AllRiversRunIntoSea

I'm getting the same error...

mmmjung avatar Nov 12 '19 10:11 mmmjung

I did change the code on utils/batch_loader.py line 237 from indexes = np.array(range(start_index, start_index+batch_size)) to indexes = np.array([index%50000 for index in range(start_index, start_index+batch_size)])

superwoou avatar Nov 26 '19 07:11 superwoou

I have modifed a no error version.
https://github.com/hanzhongyuan/paraphraseGen

hanzhongyuan avatar Dec 23 '19 03:12 hanzhongyuan

Thank you very much

---Original--- From: "Zhongyuan Han"<[email protected]> Date: Mon, Dec 23, 2019 12:33 PM To: "arvind385801/paraphraseGen"<[email protected]>; Cc: "千牛卫中郎将"<[email protected]>;"Author"<[email protected]>; Subject: Re: [arvind385801/paraphraseGen] run error (#5)

I have modifed a no error version. https://github.com/hanzhongyuan/paraphraseGen

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

AllRiversRunIntoSea avatar Dec 23 '19 07:12 AllRiversRunIntoSea