Giter Club home page Giter Club logo

segmind-old's Introduction

PyPI - Python Version GitHub Workflow Status (event) GitHub Workflow Status (event) PyPI - Downloads PyPI GitHub tag (latest SemVer)

Installation

pip3 install -r requirements.txt

Code style

Python

We adopt PEP8 as the preferred code style.

We use the following tools for linting and formatting:

Style configurations of yapf and isort can be found in setup.cfg.

We use pre-commit hook that checks and formats for flake8, yapf, isort, trailing whitespaces, fixes end-of-files, sorts requirments.txt automatically on every commit. The config for a pre-commit hook is stored in .pre-commit-config.

After you clone the repository, you will need to install initialize pre-commit hook.

pip install -U pre-commit

From the repository folder

pre-commit install

After this on every commit check code linters and formatter will be enforced.

Run locally

cd .

pip install virtualenv

virtualenv venv

source ./venv/bin/activate

pip install -r requirements.txt pip install -e .

segmind-old's People

Contributors

alienware avatar dependabot[bot] avatar pk00095 avatar pratik-segmind avatar saurbhc avatar shreeram0206 avatar shrey-rajvanshi avatar sohanur-rahman-shanto avatar sohanur-shanto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

segmind-old's Issues

`!segmind config` has issues on Google Colab Notebook

When using google-colab cell, logging with segmind, like this

!segmind config

internally sets env variable with

import os
os.environ[_ACCESS_TOKEN] = access_token

But, All other segmind API's, doesn't have access to that env variable, and ends up breaking the code.

`segmind upload` for folder breaks

segmind upload --path <folder-path> --destination_path <folder-path> --datastore_name <datastore-path>

Folder upload functionality is breaking and has unexpected behaviour.

[feature-request] Create Run with Run-Name & Algo Name

When Starting run explicitly, need an option to add run_name & algo_name

from segmind.tracking import start_run


start_run(
    run_name="My Custom Run Name",  # Optional
    run_algo_name="Linear Regression with Gradient Descent",  # Optional
)

`from segmind.keras import KerasCallback` breaks with old psutil versions

Steps to reproduce this error

pip install --upgrade --pre segmind
from segmind.keras import KerasCallback
keras_cb = KerasCallback()
/usr/local/lib/python3.7/dist-packages/segmind/sys_data/get_systemstats.py in <module>()
  1 import psutil
  ----> 2 ![from psutil._common import bytes2human]()
  3 
  4 
  5 def fan_stats():
ImportError: cannot import name 'bytes2human' from 'psutil._common' 
(/usr/local/lib/python3.7/dist-packages/psutil/_common.py)

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.