Giter Club home page Giter Club logo

Comments (8)

Chudbrochil avatar Chudbrochil commented on August 16, 2024 6

+1
Also experiencing this.

Edit: I resolved my issue by commenting out the old nvcc flags in CMakeLists.txt. Specifically, lines 35-38

from warp-ctc.

kouohhashi avatar kouohhashi commented on August 16, 2024 1

+1
Also experiencing this.

Edit: I resolved my issue by commenting out the old nvcc flags in CMakeLists.txt. Specifically, lines 35-38

Thank you so much!
I have switched to nn.CTCLoss because I could not install warp-ctc but after switching to nn.CTCLoss my accuracy was decreasing...

from warp-ctc.

liangxin123456 avatar liangxin123456 commented on August 16, 2024

Thank you very much, I solved the problem through this method

from warp-ctc.

dzubke avatar dzubke commented on August 16, 2024

Thanks, @Chudbrochil. This worked for me as well trying to setup warp_ctc using cuda 11.2.

@Luna-yu: if @Chudbrochil solution worked for you, want to close the issue?

from warp-ctc.

Luna-yu avatar Luna-yu commented on August 16, 2024

(yu_tf_py) root@gao-PowerEdge-T640:/yu_ex/warp-ctc3333/pytorch_binding# python setup.py install
Traceback (most recent call last):
File "setup.py", line 6, in
from torch.utils.cpp_extension import BuildExtension, CppExtension
ModuleNotFoundError: No module named 'torch.utils'
(yu_tf_py) root@gao-PowerEdge-T640:
/yu_ex/warp-ctc3333/pytorch_binding# pip install torch.utils
Requirement already satisfied: torch.utils in /root/ana3/envs/yu_tf_py/lib/python3.6/site-packages (0.1.2)
Requirement already satisfied: torch in /root/ana3/envs/yu_tf_py/lib/python3.6/site-packages (from torch.utils) (1.7.1+cu110)
Requirement already satisfied: numpy in /root/ana3/envs/yu_tf_py/lib/python3.6/site-packages (from torch->torch.utils) (1.19.2)
Requirement already satisfied: dataclasses in /root/ana3/envs/yu_tf_py/lib/python3.6/site-packages (from torch->torch.utils) (0.8)
Requirement already satisfied: typing-extensions in /root/ana3/envs/yu_tf_py/lib/python3.6/site-packages (from torch->torch.utils) (3.7.4.3)
I encountered such a problem when running install. Would you like to ask me if you have encountered any?
cuda11.1 torch 1.7.1

from warp-ctc.

dzubke avatar dzubke commented on August 16, 2024

This seems like a separate issue. We can continue discussing it on this thread, but you may want to close the issue as it seems like you have successfully run the make command.

Have you tried uninstalling and re-installing pytorch?

What OS are you running? If you're running linux, you can run this command to double check what Cuda version you have installed:
/usr/local/cuda/bin/nvcc --version

from warp-ctc.

Luna-yu avatar Luna-yu commented on August 16, 2024

This seems like a separate issue. We can continue discussing it on this thread, but you may want to close the issue as it seems like you have successfully run the make command.

Have you tried uninstalling and re-installing pytorch?

What OS are you running? If you're running linux, you can run this command to double check what Cuda version you have installed:
/usr/local/cuda/bin/nvcc --version

thank you!

from warp-ctc.

kongto-yu avatar kongto-yu commented on August 16, 2024

+1
Also experiencing this.
Edit: I resolved my issue by commenting out the old nvcc flags in CMakeLists.txt. Specifically, lines 35-38

Thank you so much! I have switched to nn.CTCLoss because I could not install warp-ctc but after switching to nn.CTCLoss my accuracy was decreasing...

Lastest version of Pytorch includes CTC in its module, but there are still many project using the early version. :(

from warp-ctc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.