Skip to main content

Erutils Package is a self made package for self uses but if you find a way to use it to make you job easier feel free to use as you wish

Project description

Erutils

The Erutils package is the most simple package that include some stuffs that i think that i use every day and build them every day cause im to lazy to copy them from other projects :).

Erutils Package is a self made package for self uses but if you find a way to use it to make you job easier.

feel free to use as you wish but for a simple introduction erutils have 4 fls and those are .

Open erfanzare Github

Open Package Github

command line inteface dll lightning(AI) utils nlp neurons .

command line inteface

command line inteface is used for command line interface with functions like.
show_array arrays between 0 - 255 to image show
draw_rec plot rectangle with given informations
Cp colors cli
fprint
attar_print
print_model
Logger class Logger

dll

dll for dll file problems cause i ran into a lot of em .

lightning

lightning some classes and functions that i think that i always use like iou kmeans and many more ... . arg_creator to create args for modules from a list
pars_model_v2 to create model with config passed to
pars_model same as pars_model_v2 but older and have less options
max_args_to_max_non_tom one hot encoding
max_args_to_one_arg
accuracy
is_parallel Returns True if model is of type DP or DDP
de_parallel De-parallelize a model returns single-GPU model if model is of type DP or DDP
name_to_layer
module_creator used for objd
attr_exist_check_ check if attr exist in anyclass
iou
bbox_iou updated iou
avg_iou
TorchBaseModule torch train based module with some new capeblities
M torch module based module with some new features

utils

utils some functions like downloader timeSince and some more ... . as_minutes
time_since
read_video
write_video_frame
download
read_yaml
read_json
read_txt
str_to_list
wrd_print
read_toml
mp4_to_mp3

neurons

neurons some customized neural networks for pytorch line Convs and etc . Conv
Concat
Neck
C3
C4P
RepConv
ConvSc
ResidualBlock
CV1
UC1
MP
SP
LP
UpSample
SPPCSPC

nlp

nlp not fully complited but have classes and functions for text preprocessing .
Lang class for tokenize words like (add to vocab index2token and etc)
normalize_string
unicode_to_ascii

🚀 About Me

Hi there 👋 I like to train deep neural nets on large datasets 🧠. Among other things in this world:)

License

MIT

Used By

Private Project

Author

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

erutils-0.6.4.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

erutils-0.6.4-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

Details for the file erutils-0.6.4.tar.gz.

File metadata

  • Download URL: erutils-0.6.4.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for erutils-0.6.4.tar.gz
Algorithm Hash digest
SHA256 c3aa63df245045fc3fc40ea18916cbcf6b72027303f6c290e0a78ccbbff04bdb
MD5 cba708b65b93d092f92576757b11d39b
BLAKE2b-256 4c4e2f34b6bdeb5e1f5faac119f685fdd6d7d522656e860ebf8e40a1be3c77a6

See more details on using hashes here.

File details

Details for the file erutils-0.6.4-py3-none-any.whl.

File metadata

  • Download URL: erutils-0.6.4-py3-none-any.whl
  • Upload date:
  • Size: 23.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for erutils-0.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ed88687e86763fdd044ac6bd941ea67f15f51c6396234b56b9a68b5219477965
MD5 94ac809538b215b63d2ae6311985a43c
BLAKE2b-256 fb8f861141f999c9e344d589744a250392b694ff13aa283afef33c0ab286eec4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page