vwxyzjn / cleanrl

High-quality single file implementation of Deep Reinforcement Learning algorithms with research-friendly features (PPO, DQN, C51, DDPG, TD3, SAC, PPG)
http://docs.cleanrl.dev
Other
4.91k stars 566 forks source link

Add huggingface push retry #406

Closed sdpkjc closed 1 year ago

sdpkjc commented 1 year ago

Description

When network quality is low, using the push model can occasionally result in HTTP errors. Training a model once is computationally expensive, and it can be both time-consuming and cumbersome to retrain the model or locate the model file to upload it again after a failed attempt.

To address this issue, we can try the push operation multiple times to increase the chances of a successful upload.

Types of changes

Checklist:

If you need to run benchmark experiments for a performance-impacting changes:

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cleanrl ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 27, 2023 4:51am