quantumiracle / Popular-RL-Algorithms

PyTorch implementation of Soft Actor-Critic (SAC), Twin Delayed DDPG (TD3), Actor-Critic (AC/A2C), Proximal Policy Optimization (PPO), QT-Opt, PointNet..
Apache License 2.0
1.14k stars 129 forks source link

FileNotFoundError: [Errno 2] No such file or directory: './model/sac' #41

Closed Alexzzdfjcn closed 3 years ago

Alexzzdfjcn commented 3 years ago

https://github.com/quantumiracle/Popular-RL-Algorithms/blob/16a4c883fd17aba632b5630e4b22801100331483/sac.py#L366 This error occurs when I run the code. Is the model file of sac missing?

Alexzzdfjcn commented 3 years ago

https://github.com/quantumiracle/Popular-RL-Algorithms/blob/16a4c883fd17aba632b5630e4b22801100331483/sac.py#L366

This error occurs when I run the code. Is the model file of sac missing?

image

quantumiracle commented 3 years ago

Hi, Yeah, you can just delete line 371 in sac.py. I've updated the script now.

Alexzzdfjcn commented 3 years ago

Thanks very much! it's running successfully now.

---Original--- From: "Zihan @.> Date: 2021/8/18 20:36:57 To: @.>; Cc: @.**@.>; Subject: Re: [quantumiracle/Popular-RL-Algorithms] FileNotFoundError: [Errno 2] No such file or directory: './model/sac' (#41)

Hi, You can simply create this path model/sac under your root folder to solve it. I didn't automate the directory creation process.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.