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

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

  • 前言
  • 一、代码获取
  • 二、环境搭建
    • 1.环境需求
    • 2.环境搭建命令
    • 3.运行main.py
  • 总结


前言

本文主要记录边缘计算卸载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

你可能感兴趣的:(Paper,Recording,tensorflow,python,anaconda)