Git Product home page Git Product logo

mec_morl_multipolicy's Introduction

mec_morl_multipolicy

The python code for paper "Multi-objective Deep Reinforcement Learning for Mobile Edge Computing"

mec_morl_multipolicy's People

Contributors

rewritev avatar gracefulning avatar

Stargazers

LIU  avatar  avatar wolibear avatar JhonJoJe avatar sukien027 avatar  avatar  avatar  avatar renwei avatar  avatar  avatar lhonrush avatar  avatar  avatar  avatar  avatar Moriton avatar  avatar  avatar Joey Xue avatar Lin Changqing avatar  avatar Heba  avatar  avatar  avatar Dream avatar  avatar loko avatar  avatar  avatar MEC avatar Nala avatar Jack Hu avatar NicholasBiko avatar  avatar Wang Yile avatar wangtieta avatar  avatar 周丽贞 avatar  avatar  avatar  avatar HuJing avatar  avatar  avatar  avatar  avatar  avatar 野子 avatar

Watchers

 avatar

mec_morl_multipolicy's Issues

各位朋友请注意版本问题

gym~=0.26.2
tianshou~=0.4.10
pettingzoo
tianshou平台别安装最新版,因为它从0.5版本后就不支持gym而改为支持gymnasium了

Batch error during execution

I have changed your code only the cpu to run in cpu format not skuda but it returns error: Traceback (most recent call last):
File "/home/ad/Downloads/mec_morl_multipolicy-main/train.py", line 191, in
batch = train_collector.collect(n_episode=train_num)
File "/home/ad/.local/lib/python3.10/site-packages/tianshou/data/collector.py", line 359, in collect
ptr, ep_rew, ep_len, ep_idx = self.buffer.add(
File "/home/ad/.local/lib/python3.10/site-packages/tianshou/data/buffer/manager.py", line 137, in add
ptr, ep_rew, ep_len, ep_idx = self.buffers[buffer_id]._add_index(
File "/home/ad/.local/lib/python3.10/site-packages/tianshou/data/buffer/base.py", line 209, in _add_index
if done:
File "/home/ad/.local/lib/python3.10/site-packages/tianshou/data/batch.py", line 688, in len
raise TypeError(f"Object {self} has no len()")
TypeError: Object Batch() has no len()
Have you checked and explain because I have figured out for a week

mec自定义环境的问题

您好,请问在mec_env的文件中,是需要去继承gym.env 吗,主要在训练的时候 train_envs哪里会报错,需要的是gym环境 ,而不是自定义的mec环境,但是我去继承gym后,一直bug卡在 observation——space哪里 说是NotImplementedError: Cannot convert space of type 2. Please upgrade your code to gymnasium.但是我版本已是最新的,请给予指教,万分感谢

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.