GithubHelp home page GithubHelp logo

asrrn's Introduction

ASGA

Step 1: Create a New Conda Environment First, you create a new Conda environment. You can specify the version of Python you want in the environment if your requirements.txt file is dependent on a specific Python version. If not specified, the default Python version that comes with your Anaconda installation will be used.

conda create -n mynewenv python=3.6

Step 2: Activate the New Environment Before installing the packages, you need to activate the newly created environment.

conda activate mynewenv

Step 3: Install Packages Using pip With the environment activated, you can now install the required packages listed in your requirements.txt file using pip.

pip install -r requirements.txt

Ensure that requirements.txt is the path to your requirements file. If it's in the current directory, the command as shown will work. If it's in another directory, you'll need to specify the full path to the file.

Step 4 Change the parameters in constant.py

You might need to change the wangdb user information if you want to use it, otherwise you need to comment all the code in main.py to disable wangdb.

Step 5 To run the code

python -u main.py --ckp_name ckp --device cuda:0

asrrn's People

Contributors

nkzhlee avatar

Stargazers

Matt Beckman 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.