Giter Club home page Giter Club logo

fedrl's People

Contributors

dvendrow avatar kiddyboots216 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fedrl's Issues

AttributeError: 'NoneType' object has no attribute 'Graph'

Dear author, when i tested the code, i got an error, could you please help me?
2019-06-11 17:27:11,676 ERROR trial_runner.py:487 -- Error processing event.
Traceback (most recent call last):
File "/home/ethan/anaconda3/envs/gymlab/lib/python3.6/site-packages/ray/tune/trial_runner.py", line 436, in _process_trial
result = self.trial_executor.fetch_result(trial)
File "/home/ethan/anaconda3/envs/gymlab/lib/python3.6/site-packages/ray/tune/ray_trial_executor.py", line 323, in fetch_result
result = ray.get(trial_future[0])
File "/home/ethan/anaconda3/envs/gymlab/lib/python3.6/site-packages/ray/worker.py", line 2189, in get
raise value
ray.exceptions.RayTaskError: ray_worker (pid=29306, host=ethan)
File "/home/ethan/anaconda3/envs/gymlab/lib/python3.6/site-packages/ray/rllib/agents/trainer.py", line 311, in init
Trainable.init(self, config, logger_creator)
File "/home/ethan/anaconda3/envs/gymlab/lib/python3.6/site-packages/ray/tune/trainable.py", line 88, in init
self._setup(copy.deepcopy(self.config))
File "/home/ethan/anaconda3/envs/gymlab/lib/python3.6/site-packages/ray/rllib/agents/trainer.py", line 424, in _setup
self._init(self.config, self.env_creator)
File "/home/ethan/anaconda3/envs/gymlab/lib/python3.6/site-packages/ray/rllib/agents/trainer_template.py", line 63, in _init
env_creator, policy)
File "/home/ethan/anaconda3/envs/gymlab/lib/python3.6/site-packages/ray/rllib/agents/trainer.py", line 622, in make_local_evaluator
extra_config or {}))
File "/home/ethan/anaconda3/envs/gymlab/lib/python3.6/site-packages/ray/rllib/agents/trainer.py", line 847, in _make_evaluator
_fake_sampler=config.get("_fake_sampler", False))
File "/home/ethan/anaconda3/envs/gymlab/lib/python3.6/site-packages/ray/rllib/evaluation/policy_evaluator.py", line 312, in init
with tf.Graph().as_default():
AttributeError: 'NoneType' object has no attribute 'Graph'

2019-06-11 17:27:11,677 INFO ray_trial_executor.py:187 -- Destroying actor for trial PPO_multienv_FedRL_0. If your trainable is slow to initialize, consider setting reuse_actors=True to reduce actor creation overheads.
== Status ==
Using FIFO scheduling algorithm.
Resources requested: 0/8 CPUs, 0/1 GPUs
Memory usage on this node: 5.4/16.8 GB
Result logdir: /home/ethan/ray_results/HalfCheetah-v2-PPO-5
Number of trials: 1 ({'ERROR': 1})
ERROR trials:

  • PPO_multienv_FedRL_0: ERROR, 1 failures: /home/ethan/ray_results/HalfCheetah-v2-PPO-5/PPO_multienv_FedRL_0_2019-06-11_17-27-1080na_7ja/error_2019-06-11_17-27-11.txt

Traceback (most recent call last):
File "FedRL.py", line 213, in
fedrl(args)
File "FedRL.py", line 193, in fedrl
checkpoint_at_end=True
File "/home/ethan/anaconda3/envs/gymlab/lib/python3.6/site-packages/ray/tune/tune.py", line 272, in run
raise TuneError("Trials did not complete", errored_trials)
ray.tune.error.TuneError: ('Trials did not complete', [PPO_multienv_FedRL_0])

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.