Skip to content

altter/UPV_DPA_Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UPV DPA example

Tested with python 3.12

Setup evaluation environment

  1. Clone this repo
  2. Install python interpreter
  3. Create python virtual environment
  4. Download the traces dataset

Downloading the traces dataset

Traces dataset is in a single file (TRS extension) you can download from here

Note:

Use the cmd instead of powershell if you cannot install anything due to access issues.

Step 0:

Check python version: Open a terminal, type: python --version. You should see the info regarding python interpreter

Step 1:

To create a virtual environment in python open a terminal and navigate to the directory where you will create your virtual env:

cd C:\Users\your_user\
mkdir upv_env
cd upv_env
python -m venv upv_dpa_ex

Step 2:

Install the required python packages, but before, make sure you are in the virtual environtment you just created. In the same terminal you can type:

cd C:\Users\your_user
upv_dpa_ex\Scripts\activate # IMPORTANT: activate the virtual environtment first

Use the requirements.txt provided with this repo to install all the packages (virtually) automatically. Use the file to execute:

pip install -r requirements.txt

Step 3:

After installing the requirements, JupyterLab should be ready to be used. But first, we have to be in the folder that contains the files of this repo, meaning the location where you clone this repo. Open a terminal and navigate to the location where you clone this repository:

cd C:\Users\your_user\..\UPV_DPA_Example # Find the location of the repo folder
jupyter lab # An browser should be open after this command

If jupyter lab does not work for you, then try: jupyter-lab

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published