Skip to content
#

pytorch

Here are 8,356 public repositories matching this topic...

biggoron
biggoron commented Dec 4, 2019

With the latest version of scipy.misc, scipy.misc.toimage is no longer available. To load and save an image as png we now have to use PIL, breaking tensorboard image summary.

Here is how I fixed the bug:
1./ At the end of main.py, log a uint8 image
logger.image_summary(tag, (images * 255).astype(np.uint8), step+1)
2./ In Logger class, package image as bytes with the PIL library (mode="L

Real-Time-Voice-Cloning
randyadams2000
randyadams2000 commented Oct 27, 2019

Traceback (most recent call last):
File "/home/ubuntu/Real-Time-Voice-Cloning-master/toolbox/init.py", line 59, in
self.ui.browser_load_button.clicked.connect(lambda: self.load_from_browser())
File "/home/ubuntu/Real-Time-Voice-Cloning-master/toolbox/init.py", line 122, in load_from_browser
self.add_real_utterance(wav, name, speaker_name)
File "/home/ubuntu/Real

ZzzackChen
ZzzackChen commented Jul 19, 2019

I had download pretrained model by 'bash scripts/download_cyclegan_model.sh cityscapes_label2photo',
and run 'test.py' to generate photos,
and run 'scripts/eval_cityscapes/evaluate.py',
finally the result as following is far less than the paper result
image
the paper result is following:

Flamefire
Flamefire commented Nov 13, 2019

Judging by the logic in https://github.com/horovod/horovod/blob/38e91bee84efbb5b563a4928027a75dc3974633b/setup.py#L1369 it is clear, that before installing Horovod one needs to install the underlying framework(s) (TensorFlow, PyTorch, ...).

This is not mentioned in the installation instructions which made me think, I can install Horovod and then any framework I like (or switch between them) and

DeNeutoy
DeNeutoy commented Jan 15, 2020

#3602 switched our docs from restructured text to markdown, which is a big improvement. However, there are some left over traces of rst formatting in the docstrings. It would be great if we could comb through these and update them.

  • commands
  • common
  • data
  • interpret
  • models
  • modules
  • nn
  • predictors
  • tools
  • training

How to help

TMVector
TMVector commented Sep 16, 2019

Support for storing large tensor values in external files was introduced in #678, but AFAICT is undocumented.

This is a pretty important feature, functionally, but it's also important for end users who may not realise that they need to move around more than just the *.onnx file.

I would suggest it should be documented in IR.md, and perhaps there are other locations from which it could be s

samsontmr
samsontmr commented Nov 21, 2019

Hi! I tried running generate to evaluate transformer.wmt14.en-fr on the WMT'14 test set but was only able to get a BLEU score of 35.42. I ran prepare-wmt14en2fr.sh and fairseq-preprocess on the data beforehand as well. Could you share the command for evaluating the Transformer ENFR WMT'14 model?

Here is what I'm using:

fairseq-generate data-bin/wmt14_en_fr/ \
    --path checkpoin
Invokar
Invokar commented Apr 22, 2019

Traceback (most recent call last):
File "main.py", line 234, in
fire.Fire()
File "/home/zhangqilong/anaconda3/lib/python3.6/site-packages/fire/core.py", line 127, in Fire
component_trace = _Fire(component, args, context, name)
File "/home/zhangqilong/anaconda3/lib/python3.6/site-packages/fire/core.py", line 366, in _Fire
component, remaining_args)
File "/home/zh

mabuge
mabuge commented Dec 26, 2019

Questions & Help

when i run the following example:
examples/mnist_voxel_grid.py

it stoped and warning :

python3.7/site-packages/torch_geometric/nn/conv/spline_conv.py:104: UserWarning: We do not recommend using the non-optimized CPU version of SplineConv. If possible, please convert your data to the GPU.
warnings.warn('We do not recommend using the non-optimized CPU '

how can i fi

dattran2346
dattran2346 commented Sep 20, 2019

The last pooling layer of SENet should be change from self.avg_pool = nn.AvgPool2d(7, stride=1) to self.avg_pool = nn.AdaptiveAvgPool2d((1, 1)) so that the model can take different input size.

vpapaioannou
vpapaioannou commented Jun 4, 2019

Describe the bug
I try to run tensorboardX/examples/demo_graph.py for jupyter notebook (launched by anaconda navigator) and I get the error seen at Additional context.

I just copy paste the code to notebook from Github.

Minimal runnable code to reproduce the behavior
class SimpleModel(nn.Module):
def init(self):
super(SimpleModel, self).init()

rbavery
rbavery commented Aug 14, 2019

I'm building an edited version of the tensorflow-py36-cuda90 dockerfile where I pip install some more packages

# ==================================================================
# module list
# ------------------------------------------------------------------
# python        3.6    (apt)
# tensorflow    latest (pip)
# ================================================================
WZHsmile
WZHsmile commented Aug 28, 2019

anaconda3/envs/py27t04/include/python2.7 -c _roi_crop.c -o ./_roi_crop.o
In file included from /home/wangzhonghao/anaconda3/envs/py27t04/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/THC/THC.h:4:0,
from _roi_crop.c:493:
/home/wangzhonghao/anaconda3/envs/py27t04/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/THC/THCGeneral.h:12:18: fatal error: cud

Improve this page

Add a description, image, and links to the pytorch topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the pytorch topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.