trungnt13 / odin-ai Goto Github PK
View Code? Open in Web Editor NEWOrgainzed Digital Intelligent Network (O.D.I.N)
License: MIT License
Orgainzed Digital Intelligent Network (O.D.I.N)
License: MIT License
Deprecation warnings are raised due to invalid escape sequences. This can be fixed by using raw strings or escaping the literals. pyupgrade also helps in automatic conversion : https://github.com/asottile/pyupgrade/
find . -iname '*.py' | grep -Ev 'example|scripts' | xargs -P4 -I{} python3 -Wall -m py_compile {}
./odin/preprocessing/textgrid.py:192: DeprecationWarning: invalid escape sequence \d
tier_re = " \d+.?\d* \d+.?\d*[\r\n]+\"[^\"]*\""
./odin/preprocessing/textgrid.py:200: DeprecationWarning: invalid escape sequence \s
tier_re = header + "[\s\S]+?(?=" + header + "|$$)"
./odin/preprocessing/textgrid.py:238: DeprecationWarning: invalid escape sequence \[
header = " +item \["
./odin/preprocessing/textgrid.py:241: DeprecationWarning: invalid escape sequence \S
header = "\"\S+\" \".*\" \d+\.?\d* \d+\.?\d*"
./odin/preprocessing/textgrid.py:360: DeprecationWarning: invalid escape sequence \S
trans = "([\S\s]*)"
./odin/preprocessing/textgrid.py:364: DeprecationWarning: invalid escape sequence \d
xmin = "(\d+\.?\d*) +"
./odin/preprocessing/textgrid.py:365: DeprecationWarning: invalid escape sequence \d
xmax = "(\d+\.?\d*) *[\r\n]+"
./odin/preprocessing/textgrid.py:372: DeprecationWarning: invalid escape sequence \d
xmin = " +xmin = (\d+\.?\d*) *[\r\n]+"
./odin/preprocessing/textgrid.py:373: DeprecationWarning: invalid escape sequence \d
xmax = " +xmax = (\d+\.?\d*) *[\r\n]+"
./odin/preprocessing/textgrid.py:374: DeprecationWarning: invalid escape sequence \S
size = " +\S+: size = (\d+) *[\r\n]+"
./odin/preprocessing/textgrid.py:378: DeprecationWarning: invalid escape sequence \d
xmin = "(\d+\.?\d*) *[\r\n]+"
./odin/preprocessing/textgrid.py:379: DeprecationWarning: invalid escape sequence \d
xmax = "(\d+\.?\d*) *[\r\n]+"
./odin/preprocessing/textgrid.py:380: DeprecationWarning: invalid escape sequence \d
size = "(\d+) *[\r\n]+"
./odin/preprocessing/textgrid.py:398: DeprecationWarning: invalid escape sequence \S
trans_xmin = " (\S+)"
./odin/preprocessing/textgrid.py:399: DeprecationWarning: invalid escape sequence \S
trans_xmax = " (\S+)[\r\n]+"
./odin/preprocessing/textgrid.py:400: DeprecationWarning: invalid escape sequence \S
trans_text = "\"([\S\s]*?)\""
./odin/preprocessing/textgrid.py:402: DeprecationWarning: invalid escape sequence \S
trans_head = " +\S+ \[\d+\]: *[\r\n]+"
./odin/preprocessing/textgrid.py:403: DeprecationWarning: invalid escape sequence \S
trans_xmin = " +\S+ = (\S+) *[\r\n]+"
./odin/preprocessing/textgrid.py:404: DeprecationWarning: invalid escape sequence \S
trans_xmax = " +\S+ = (\S+) *[\r\n]+"
./odin/preprocessing/textgrid.py:405: DeprecationWarning: invalid escape sequence \S
trans_text = " +\S+ = \"([^\"]*?)\""
./odin/preprocessing/textgrid.py:410: DeprecationWarning: invalid escape sequence \S
trans_text = "\"([\S\s]*?)\""
./odin/preprocessing/base.py:634: DeprecationWarning: invalid escape sequence \_
def __init__(self, dtype, input_name=None, exclude_pattern=".+\_sum[1|2]"):
./odin/utils/decorators.py:147: SyntaxWarning: "is" with a literal. Did you mean "=="?
if debug is 0: # ignore
./odin/utils/decorators.py:158: SyntaxWarning: "is" with a literal. Did you mean "=="?
if debug is 1:
./odin/utils/decorators.py:160: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif debug is 2:
./odin/utils/decorators.py:173: SyntaxWarning: "is" with a literal. Did you mean "=="?
if debug is 1:
./odin/utils/decorators.py:175: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif debug is 2:
Hi!
How to start using Odin?
Any tips are welcome.
Lucas
Hi, thanks for your interest in Hydra.
I see that you are depending on internal APIs here.
The way you are using Hydra now can probably best be addressed with the experimental compose API.
However, there is a room for much better integration. Frameworks are definitely in my mind as I build Hydra and there are some non obvious features that can really make the the integration nice.
I would love to learn more about ODIN, please join the Hydra chat and we can discuss a bit.
Use collections.abc for ABC import.
odin/backend/__init__.py:6
/root/checked_repos/odin-ai/odin/backend/__init__.py:6: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
from collections import Mapping
odin/utils/__init__.py:21
odin/utils/__init__.py:21
/root/checked_repos/odin-ai/odin/utils/__init__.py:21: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
from collections import Iterable, Iterator, Mapping, OrderedDict, deque
odin/utils/crypto.py:9
/root/checked_repos/odin-ai/odin/utils/crypto.py:9: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
from collections import Sequence
$ rg -t py 'time.clock|encodestring|decodestring|celementtree|collections.*(Awaitable|Coroutine|AsyncIterable|AsyncIterator|AsyncGenerator|Hashable|Iterable|Iterator|Generator|Reversible|Sized|Container|Callable|Set|MutableSet|Mapping|MutableMapping|MappingView|KeysView|ItemsView|ValuesView|Sequence|MutableSequence|ByteString)|asyncio.?coroutine|isAlive|readfp'
odin/stats.py
6:from collections import Iterator, Mapping, OrderedDict, defaultdict
odin/fuel/dataset.py
6:from collections import Mapping, OrderedDict
odin/fuel/databases.py
13:from collections import OrderedDict, Iterator, defaultdict, MutableMapping, Mapping
odin/preprocessing/processor.py
17:from collections import Mapping, defaultdict
odin/preprocessing/text.py
14:from collections import OrderedDict, Iterator, Iterable, defaultdict, Mapping
odin/preprocessing/speech.py
46:from collections import Mapping, OrderedDict, defaultdict
odin/preprocessing/_opensmile.py
17:from collections import Mapping
odin/preprocessing/base.py
7:from collections import Mapping
179: - If the return is instance of `collections.Mapping`, the new features
odin/networks/util_layers.py
4:from collections import Iterable
odin/networks/base_networks.py
779: if not isinstance(self.units, collections.Iterable):
odin/visual/bashplot.py
15:from collections import Mapping
odin/visual/figures.py
16:from collections import Mapping, OrderedDict, defaultdict
odin/utils/python_utils.py
14:from collections import (Iterable, Iterator, Mapping, OrderedDict, defaultdict,
odin/utils/decorators.py
16:from collections import MutableMapping, Mapping
odin/utils/__init__.py
21:from collections import Iterable, Iterator, Mapping, OrderedDict, deque
odin/utils/crypto.py
9:from collections import Sequence
odin/backend/__init__.py
6:from collections import Mapping
odin/ml/gmm_tmat.py
13:from collections import Mapping, OrderedDict, defaultdict
odin/bay/distributions/conditional.py
59: slices = (tuple(slices) if isinstance(slices, collections.Sequence) else
odin/bay/vi/autoencoder/factor_vae.py
56: if isinstance(v, collections.Sequence):
odin/bay/random_variable.py
6:from collections import MutableSequence, Sequence
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.