Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 20:13
  • Jan 31 2019 07:16
    nuczzz starred torch/torch7
  • Jan 31 2019 03:36
    ajhool commented #1193
  • Jan 31 2019 03:21
    ajhool closed #1192
  • Jan 31 2019 03:21
    ajhool commented #1192
  • Jan 30 2019 17:05
    marwon34 commented #1146
  • Jan 30 2019 13:01
    elvis1423 commented #1180
  • Jan 30 2019 13:00
    elvis1423 commented #1180
  • Jan 30 2019 02:02
    EternalSunLhx starred torch/torch7
  • Jan 29 2019 11:07
    berlam starred torch/torch7
  • Jan 28 2019 21:20
    generic-github-user starred torch/torch7
  • Jan 28 2019 20:01
  • Jan 28 2019 20:00
    chipper1 starred torch/torch7
  • Jan 28 2019 13:36
  • Jan 28 2019 09:43
    jkadowaki starred torch/torch7
  • Jan 28 2019 08:28
  • Jan 28 2019 02:58
    pavq forked
    pavq/torch7
  • Jan 26 2019 12:39
    stu17682 commented #1192
  • Jan 26 2019 08:33
    ajhool opened #1193
  • Jan 26 2019 05:08
    ajhool opened #1192
jdesouza-ai
@jdesouza-ai
the rest of my code is in Python, so ideally it would also be good to convert this into a Pytorch model too
Alex Biddulph
@Bidski
Hi - Is there any documentation for the THC* functions?
Abood-eng
@Abood-eng
Hi, I've been trying to install torch on Pycharm but I've been running into the same error message. I have tried multiple proposed solutions but none seem to work sadly.

Collecting torch
Using cached torch-0.1.2.post2.tar.gz (128 kB)
Requirement already satisfied: pyyaml in c:\users\abdel\anaconda3\lib\site-packages (from torch) (3.12)
Building wheels for collected packages: torch
Building wheel for torch (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\abdel\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\abdel\AppData\Local\Temp\pip-install-b8al_fyt\torch\setup
.py'"'"'; file='"'"'C:\Users\abdel\AppData\Local\Temp\pip-install-b8al_fyt\torch\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'
"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\abdel\AppData\Local\Temp\pip-wheel-gpeh0_6c'
cwd: C:\Users\abdel\AppData\Local\Temp\pip-install-b8al_fyt\torch\
Complete output (28 lines):
running bdist_wheel
running build
running build_deps
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\abdel\AppData\Local\Temp\pip-install-b8al_fyt\torch\setup.py", line 265, in <module>
description="Tensors and Dynamic neural networks in Python with strong GPU acceleration",
File "c:\users\abdel\anaconda3\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "c:\users\abdel\anaconda3\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "c:\users\abdel\anaconda3\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "c:\users\abdel\anaconda3\lib\site-packages\wheel\bdist_wheel.py", line 179, in run
self.run_command('build')
File "c:\users\abdel\anaconda3\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\users\abdel\anaconda3\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "c:\users\abdel\anaconda3\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "c:\users\abdel\anaconda3\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\users\abdel\anaconda3\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\abdel\AppData\Local\Temp\pip-install-b8al_fyt\torch\setup.py", line 51, in run
from tools.nnwrap import generate_wrappers as generate_nn_wrappers

ModuleNotFoundError: No module named 'tools.nnwrap'

ERROR: Failed building wheel for torch
Running setup.py clean for torch
ERROR: Command errored out with exit status 1:
command: 'c:\users\abdel\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\abdel\AppData\Local\Temp\pip-install-b8al_fyt\torch\setup
.py'"'"'; file='"'"'C:\Users\abdel\AppData\Local\Temp\pip-install-b8al_fyt\torch\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'
"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' clean --all
cwd: C:\Users\abdel\AppData\Local\Temp\pip-install-b8al_fyt\torch
Complete output (2 lines):
running clean

error: [Errno 2] No such file or directory: '.gitignore'

ERROR: Failed cleaning build dir for torch
Failed to build torch
Installing collected packages: torch
Running setup.py install for torch ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\abdel\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\abdel\AppData\Local\Temp\pip-install-b8al_fyt\torch\set
up.py'"'"'; file='"'"'C:\Users\abdel\AppData\Local\Temp\pip-install-b8al_fyt\torch\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('
"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\abdel\AppData\Local\Temp

I'm hoping that somebody else has ran into this problem and is able to give me some suggestions? Thanks!
I also just realized that I didn't read the rules lol. Sorry.
YOUSFI Hadj Seddik
@DrDumbenstein
Hi, Using Torch on Mint19, whenever i run a script in terminal i get this anwser:
"Segmentation fault (core dumped)" with now other results
Hörmet Yiltiz
@hyiltiz
Hmm, what topics are welcome here? The [Rules] only specifies the exclusion criterion. For example, it is appropriate to discuss what models would be appropriate given a specific problem?
Porko-Pandiyan
@Porko-Pandiyan
Hey everyone,
Can someone explain me how nn.Identity() works
Especially when there is something like : local roi = nn.Identity(), where roi isn't assigned earlier
Prateek Agrawal
@prateekagrawaliiit
Hello. I am very new to machine learning and i started reading the book on pytorch.org today and i came across a typo or an error. The figure 1.1 should be inverted. It says that the deep learning model is on the right but in the figure its on the left. I know its not a big mistake but just in case if it needs to be corrected.
daurnimator
@daurnimator
pytorch is a different project
Ghost
@ghost~5f3e99b4d73408ce4fecbc52
Hi all
i hav a query in Github
dineshkumars0027
@dineshkumars0027
hello
its this page still active
alat-rights
@alat-rights
Somewhat. What’s up?
dineshkumars0027
@dineshkumars0027
im new to programming
can you guide where to start
alat-rights
@alat-rights
What kind of programming are you most interested in?
dineshkumars0027
@dineshkumars0027
dont know but i need to become a AI engineer.
alat-rights
@alat-rights
Around how old are you?
Like, are you still in school?
dineshkumars0027
@dineshkumars0027
20....
alat-rights
@alat-rights
Are you in college or naw?
dineshkumars0027
@dineshkumars0027
college 2nd year
alat-rights
@alat-rights
Are you good at math?
dineshkumars0027
@dineshkumars0027
yes bro
what about you bro ? i like know about you
i like to know about you
are you working?
alat-rights
@alat-rights
So I think there’s some really good books that you can start with if you’re interested in establishing a solid basis in programming as a whole. The book that comes to mind is SICP which I think stands for Structure and Interpretation of Computer Programs
nope! High schooler lol
dineshkumars0027
@dineshkumars0027
ops, india?
alat-rights
@alat-rights
Nope. East Asia
dineshkumars0027
@dineshkumars0027
alright
alat-rights
@alat-rights
yo if u have a little bit of money you should try one of those Udacity courses
theyre supposedly really good
I haven’t tried so I can’t vouch personally but they have some amazing people working on them
dineshkumars0027
@dineshkumars0027
thanks you man
alat-rights
@alat-rights
no worries! One more thing is check out Andrew Ng’s courses in Coursera on machine learning :))
dineshkumars0027
@dineshkumars0027
anyway thanks for information bro thumps up
alat-rights
@alat-rights
:) happy to halp
dineshkumars0027
@dineshkumars0027
:)
dineshkumars0027
@dineshkumars0027
hello anyone?
Bogdan Tsap
@bohdaq
hello i'm trying to install torch7 on macosx 10.15.7, once i run "bash install-deps" i get the following error "Error: Calling brew cask install is disabled! Use brew install [--cask] instead." Did anyone faced the same issue?
Bogdan Tsap
@bohdaq
I created a pull request with potential fixes to the issues i faced. Could someone review them? torch/distro#297
akshathaarodi
@akshathaarodi
Hi, how can I use pre-trained transformer models with torch7? I see huggingface supports only pytorch and tf.