Git Product home page Git Product logo

d2d_a2c's People

Contributors

dronie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

d2d_a2c's Issues

some file are miss

cuposx.json
cuposy.json
d2dposx.json
d2dposy.json
could you share these file?
tks!

An error occurred when I executed this code

        self.Critic_return, self.advantage = trfl.sequence_advantage_critic_loss(self.baseline_,
            self.reward_, self.discount_, self.bootstrap_, lambda_=lambda_, 
            baseline_cost=baseline_cost)

      AttributeError: module 'trfl' has no attribute 'sequence_advantage_critic_loss'

     This problem has been bothering me, can you help me solve this problem?

HI! I have a question when I read your file of D2D_env_discrete.py

D2D_env_discrete.py

119 g_iB=self.PL_kCellUE_PLCellUE_ffadingCellUE_sfading
135 G_ij=self.PL_k
d_ij**-self.PLfactorG_ij_ffadingG_ij_sfading10**-2 #### it's a matrix
142 g_jB=self.PL_k
d_jB**-self.PLfactorg_jB_ffadingg_jB_sfading*10**-3

I have a question why 10**-2 is multiplied by 10**-2 in line 135 of the file and 10**-3 is multiplied in 142.

tf2.11 execute coma_centralized error !

I have modified the code based on version 2.11 of TensorFlow, but this error will be reported. Could you please help me solve it? Thank you very much!

Traceback (most recent call last):
File "D:\Anaconda\envs\py310\lib\site-packages\tensorflow\python\client\session.py", line 1378, in _do_call
return fn(*args)
File "D:\Anaconda\envs\py310\lib\site-packages\tensorflow\python\client\session.py", line 1361, in _run_fn
return self._call_tf_sessionrun(options, feed_dict, fetch_list,
File "D:\Anaconda\envs\py310\lib\site-packages\tensorflow\python\client\session.py", line 1454, in _call_tf_sessionrun
return tf_session.TF_SessionRun_wrapper(self._session, options, feed_dict,
tensorflow.python.framework.errors_impl.InvalidArgumentError: Trying to access element 1 in a list with 1 elements.
[[{{function_node GeneralizedQLambda_target_multistep_forward_view_op_scan_discounted_sum_scan_while_body_160}}{{node TensorArrayV2Read_1/TensorListGetItem}}]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "F:\D2D_A2C-master\v2\coma_centralized.py", line 341, in
_, total_loss_critic = sess.run([central_critic.critic_optim,
File "D:\Anaconda\envs\py310\lib\site-packages\tensorflow\python\client\session.py", line 968, in run
result = self._run(None, fetches, feed_dict, options_ptr,
File "D:\Anaconda\envs\py310\lib\site-packages\tensorflow\python\client\session.py", line 1191, in _run
results = self._do_run(handle, final_targets, final_fetches,
File "D:\Anaconda\envs\py310\lib\site-packages\tensorflow\python\client\session.py", line 1371, in _do_run
return self._do_call(_run_fn, feeds, fetches, targets, options,
File "D:\Anaconda\envs\py310\lib\site-packages\tensorflow\python\client\session.py", line 1397, in _do_call
raise type(e)(node_def, op, message) # pylint: disable=no-value-for-parameter
tensorflow.python.framework.errors_impl.InvalidArgumentError: Graph execution error:

Trying to access element 1 in a list with 1 elements.
[[{{node TensorArrayV2Read_1/TensorListGetItem}}]]

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.