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.2.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

erutils-0.6.2-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: erutils-0.6.2.tar.gz
  • Upload date:
  • Size: 18.4 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.2.tar.gz
Algorithm Hash digest
SHA256 f21610e0d24273e12fb370e49e498685598c16d46a750b55ac624668bcb4bd57
MD5 db45373f7e99b910e3189367e0d1714d
BLAKE2b-256 5c68ea73b71058dc2dc323aaa5989d6010785a5186558ffdcfcd0e7037aa3e85

See more details on using hashes here.

File details

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

File metadata

  • Download URL: erutils-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 23.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 420dc04e970ca0cfeecbbc1a809b5f506265092a537d666c1d2123adff14a2b6
MD5 455e5c1ab6ae9bf4e2a0247f4fc6c3ed
BLAKE2b-256 1e5c2608541eeac561fa4f1d5711d3c6c874aecbb7e37db48b2e1dc189cc0f74

See more details on using hashes here.

Supported by

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