THUDM / icetk

A unified tokenization tool for Images, Chinese and English.
150 stars 17 forks source link

Fix bug in windows #6

Closed xu-song closed 1 year ago

xu-song commented 1 year ago

in windows, file_path.split('/')[-1] does not work

file_path = 'C:\\Users\\user/.icetk_models\\ice_text.model'
Sleepychord commented 1 year ago

Thanks!

Sleepychord commented 1 year ago

I uploaded this fix in a new version 0.0.6, could you help check it?

xu-song commented 1 year ago

It works in the latest version