frodo821

Results 10 comments of frodo821

The problem appears on my project the same as @cezium and @st-f 's project. I tried to resolve the matter following the approach suggested those sources: * [issue #81](https://github.com/hierynomus/license-gradle-plugin/issues/81) *...

> ```python > from typing import SyntheticType > > def ResultType(*args: Any) -> SyntheticType[DType]: > return result_type(*args) # Something like this, but would have to deal with e.g., numpy.ndarray[typing.Any, numpy.dtype[numpy.floating[typing.Any]]]...

@NeilGirdhar > MyPy plugins today can already have infinite loops. From my understanding, this point makes no problem because it doesn't actually run the codes with type diagnostics, only analysing...

I also suppose type-checkers, e.g. Pyright, would not work correctly with this proposal.

> I don't know what you mean? I mean, "statically" mentions that they don't actually execute a code but only walk an abstract syntax tree of the code. > Why...

> Well, MyPy has Python plugins (so it can run Python code). Oh, sorry I missed it.

I have the same issue, does anyone get around this? It might be caused by some breaking changes in transformers, I'll try downgrading transformers.

Finally I solved this error rewriting `alignment.py` like this: ```diff - inputs = processor(waveform_segment.squeeze(), sampling_rate=processor.sampling_rate, return_tensors="pt").to(device) + inputs = processor(waveform_segment.squeeze(), sampling_rate=processor.feature_extractor.sampling_rate, return_tensors="pt").to(device) ```

I found the most basic matter is PYTHONOPTIMIZE environment variable set to 2 in /data/user/0/org.qpython.qpy/files/bin/init.sh This flag enforces python interpreter to omit all extra information, for example, docstrings, assertions and...

I use Xperia XZ (Sony), Android 7.0.