- docker
- docker-compose
- Vscode
- python3.10 (install in docker)
- python's packages in requirements.txt (build in docker)
- data files (.pickle, not show in github)
- paper draft and ppts (inside results folder)
- etc (some envs)
- docker files
-
put the .pickle data in the folder
-
to build docker image and start jupyter server
docker-compose -f docker-compose.yaml up
-
once built, visit jupyter lab through the url show console like
http://127.0.0.1:5000/lab?token=6b372517a0bbc447ed4702faa1b9a81675d4fad827e51ed2
-
or u can directlly view the result in Vscode
- setting python interpreter
- Open the Command Palette in Visual Studio Code (Ctrl+Shift+P or Cmd+Shift+P).
- Run the "Remote-Containers: Attach to Running Container..." command.
- Select the running Docker container with the Python interpreter you want to use (han_tb-app_1).
- After attaching to the container,Vscode will refresh, then install python and pylance in extension in sidebar
- Open the Command Palette in Visual Studio Code (Ctrl+Shift+P or Cmd+Shift+P).
- Run the "Python: Select Interpreter"
- enter /p_3_10/bin/python3