Distributed Deep Learning-based Offloading for Mobile Edge Computing Networks 代码复现

Distributed Deep Learning-based Offloading for Mobile Edge Computing Networks(代码复现)


前言

本文主要记录边缘计算卸载DDLO算法的代码复现过程中的环境搭建


一、代码获取

GitHub链接: DDLO

This project includes:

  • memory.py: the DNN structure for DDLO, inclduing training structure and test structure
  • data: all data are stored in this subdirectory, includes:
    • MUMT_data_3X3.mat: training and testing data sets, where 3X3 means that the user number is 3, and each has 3 tasks.
  • main.py: run this file, inclduing setting system parameters
  • MUMT.py: compute system utility Q, provided with the size of all tasks and offloading decision

二、环境搭建

1.环境需求

  • python 3.6
  • tensorflow 1.8.0
  • pandas 0.24
  • numpy
  • scipy
  • matplotlib

2.环境搭建命令

  1. 安装TensorFlow 1.8.0
    先把依赖包安装了(这些依赖包有些tensorflow 1.8.0 不会自动去下载安装,但是会以红字提示,为了一次性安装好无问题,最好先把依赖包先安装了):
 python -m pip install html5lib bleach ipykernel
 python -m pip install --ignore-installed --upgrade pip setuptools
python -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow==1.8.0
  1. 安装pandas
pip install pandas==0.24
  1. 安装spicy
pip install spicy
  1. 安装matplotlib
pip install matplotlib

3.运行main.py


总结

参考博客:
链接: Win10+tensorflow cpu版本安装
链接: 在anaconda环境下安装旧版本TensorFlow1.8

  • 3
    点赞
  • 18
    收藏
    觉得还不错? 一键收藏
  • 3
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值