-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support for python 3.10 #59
Comments
Hi Thanks for your reporting! |
I just delete the env. But as much as I remember... There is some pytorch
compatibility issues. I will recreate the issue if I got time.
…On Wed, 23 Feb, 2022, 3:25 AM Xinjian Li, ***@***.***> wrote:
Hi
Thanks for your reporting!
Yeah, i am going to support it for 3.10.
but I am not using that version locally now so I do not know what's
happening now,
can you tell me what's the error you got now?
—
Reply to this email directly, view it on GitHub
<#59 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJZB5DJFMNPYH3TMQ7O36FLU4QA5VANCNFSM5O62UFTQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
i see, do you remember what's the pytorch version you were using? |
using pycharm with python 310 venv.
pip install allosaurus + enter
no error, successfully installed.
after that, I used this test code...
########################
from allosaurus.app import read_recognizer
# load your model
model = read_recognizer()
output = str(model.recognize('./sample.wav', timestamp=True))
split_line = output.splitlines()
phones = []
for val in split_line:
parts = str(val).split(" ")
phone = {
"start": parts[0],
"phoneme": parts[2],
}
phones.append(phone)
print(phones)
##########################
then the error output...
##########################
Traceback (most recent call last):
File "C:\Users\xxxxxxx\Desktop\alsorus in 310\main.py", line 1, in
<module>
from allosaurus.app import read_recognizer
File "C:\Users\xxxxxxx\Desktop\alsorus in
310\vnev\lib\site-packages\allosaurus\app.py", line 1, in <module>
from allosaurus.am.utils import *
File "C:\Users\xxxxxxx\Desktop\alsorus in
310\vnev\lib\site-packages\allosaurus\am\utils.py", line 1, in <module>
import torch
ModuleNotFoundError: No module named 'torch'
###########################
HOWEVER, WHEN I USED PYTHON 3.9, IT WORKED LIKE A CHARM.
I did try to install PyTorch with pip install torch.
it's saying...
ERROR: Could not find a version that satisfies the requirement torch (from
versions: none)
ERROR: No matching distribution found for torch
Then i tried...
pip3 install torch==1.8.2+cpu torchvision==0.9.2+cpu torchaudio===0.8.2 -f
https://download.pytorch.org/whl/lts/1.8/torch_lts.html
its saying...
Looking in links: https://download.pytorch.org/whl/lts/1.8/torch_lts.html
ERROR: Could not find a version that satisfies the requirement
torch==1.8.2+cpu (from versions: none)
ERROR: No matching distribution found for torch==1.8.2+cpu
############################
Now I am totally lost and I don't know what exactly the problem is.
I am using Win 10 Pro 64 bit.
…On Thu, 24 Feb, 2022, 4:47 AM Xinjian Li, ***@***.***> wrote:
i see, do you remember what's the pytorch version you were using?
—
Reply to this email directly, view it on GitHub
<#59 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJZB5DMI64VHJ55DLYCU54TU4VTKPANCNFSM5O62UFTQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't know why, but it does not work in python 3.10. Is it going to have support for 3.10 in the future?
The text was updated successfully, but these errors were encountered: