Code Monkey home page Code Monkey logo

tb-project's Introduction

tb project

dependency

must

  1. docker
  2. docker-compose

optional

  1. Vscode

important packages

  1. python3.10 (install in docker)
  2. python's packages in requirements.txt (build in docker)

other files

  1. data files (.pickle, not show in github)
  2. paper draft and ppts (inside results folder)
  3. etc (some envs)
  4. docker files

configuration

  1. put the .pickle data in the folder

  2. to build docker image and start jupyter server

    docker-compose -f docker-compose.yaml up

  3. once built, visit jupyter lab through the url show console like

    http://127.0.0.1:5000/lab?token=6b372517a0bbc447ed4702faa1b9a81675d4fad827e51ed2

  4. or u can directlly view the result in Vscode

debug via Vscode

  1. 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

tb-project's People

Contributors

fangxiang95 avatar bigmasonfang avatar

Watchers

 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.