GithubHelp home page GithubHelp logo

cyanxiao / greenlab Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 2.0 1.5 MB

Team GreenGen fork of Experiment Runner, containing replication steps for the experiment.

Python 50.52% Makefile 0.03% C 17.38% Shell 0.52% C++ 9.20% JavaScript 7.33% Java 13.78% R 1.25%

greenlab's Introduction

GreenLab

Green Lab Profiling

We have a separate README for the Green Lab Profiling project, which uses Experiment Runner as its infrastructure. You can find it here.

It lists the steps to reproduce the results of Comparative Analysis of Energy Efficiency between ChatGPT-Generated Codes and Handwritten Codes.

R code for the statistical analysis can be found here.

Results can be found here.

Note Before checking out the Green Lab Profiling, please read the following sections to install the Experiment Runner and try connecting Raspberry Pi with SSH.

How to Install Experiment Runner

cd experiment-runner/
pip install -r requirements.txt

To verify

python experiment-runner/ examples/hello-world/RunnerConfig.py

or if your Python 3 is not the default Python

python3 experiment-runner/ examples/hello-world/RunnerConfig.py

Connect with Raspberry Pi via SSH

The IP address of the Raspberry Pi can be found by running

ifconfig

The IP address is the one listed under eth0, followed by inet, because during the experiment we are using the network cable connection.

Then connect to the Raspberry Pi via SSH

ssh pi@{IP_ADDRESS}

Dependencies Installation on Raspberry Pi

Check if dependencies are already installed:

python3 --version

Python 3.9.6

sudo apt update
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget
wget https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tgz
tar -xf Python-3.9.6.tgz
cd Python-3.9.6
./configure
make -j 4
sudo make altinstall

greenlab's People

Contributors

cyanxiao avatar serein1010 avatar

Watchers

 avatar  avatar

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.