mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 00:44:50 +08:00
[carla] In carla example, save all images and measurements to local disk (#1350)
* revamp saving * smaller jpgs * hide verbose * Tue Dec 19 22:25:01 PST 2017 * make sure temp dirs sort lexiographically * save total reward too * zero pad i * 160x160 dqn * ever higher res dqn
This commit is contained in:
committed by
Philipp Moritz
parent
3a301c3d56
commit
0ae660ce4e
@@ -296,8 +296,10 @@ class Trial(object):
|
||||
if not os.path.exists(self.local_dir):
|
||||
os.makedirs(self.local_dir)
|
||||
self.logdir = tempfile.mkdtemp(
|
||||
prefix=str(self), dir=self.local_dir,
|
||||
suffix=datetime.today().strftime("_%Y-%m-%d_%H-%M-%S"))
|
||||
prefix="{}_{}".format(
|
||||
self,
|
||||
datetime.today().strftime("%Y-%m-%d_%H-%M-%S")),
|
||||
dir=self.local_dir)
|
||||
self.result_logger = UnifiedLogger(
|
||||
self.config, self.logdir, self.upload_dir)
|
||||
remote_logdir = self.logdir
|
||||
|
||||
Reference in New Issue
Block a user