THUDM / ImageReward

[NeurIPS 2023] ImageReward: Learning and Evaluating Human Preferences for Text-to-image Generation
Apache License 2.0
1.12k stars 62 forks source link

not connection #55

Closed gaogao2002 closed 1 year ago

gaogao2002 commented 1 year ago

Run the code below: import ImageReward as RM model = RM.load('ImageReward-v1.0')

but it will emerge some mistakes below: LocalEntryNotFoundError: Connection error, and we cannot find the requested files in the disk cache. Please try again or make sure your Internet connection is on.

And then I download the " ImageReward.pt" on my own device, but it will emerge teh same mistake as before, what happend.? 微信图片_20230909002332

xujz18 commented 1 year ago

My guess is that the path where you loaded "ImageReward.pt" doesn't match your jupyter and it didn't find the file.