The Wayback Machine - https://web.archive.org/web/20200118122158/https://github.com/topics/pytorch
Skip to content
#

pytorch

Here are 8,307 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:

marcfielding1
marcfielding1 commented Sep 24, 2019

Environment:

Framework: (TensorFlow, Keras)
Framework version:
tensorflow 1.14.0
tensorflow-estimator 1.14.0
tensorflow-serving-api 1.14.0
Keras 2.2.4
Keras-Applications 1.0.8
Keras-Preprocessing 1.1.0
Horovod version:
horovod 0.18.1
MPI version:
(tensorflow_p36) ubuntu@ip-172-31-38-183:~$ mpirun --version
mpirun (Open MPI) 4.0.1
CUDA version:
CUDA Version 10.0.130

NCCL version

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

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

heslowen
heslowen commented Oct 3, 2019

When I projecting an embedding with different labels, for example:

writer.add_embedding(same_embedding, labels_str_two,
                             tag=f'labels_str_two')
writer.add_embedding(same_embedding, labels_str_one, tag='labels_str_one')

I got two different pictures, just like these two pictures. So why relatively distances between points are different when projecting

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.

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

iamtrask
iamtrask commented Dec 4, 2019

At present, our tutorial notebook series is only available in English, but it would be very desirable for people to be able to learn PySyft in their native language, such as German.

For this PR, copy the current notebooks and translate the inline text to German, placing the notebooks in a "german" folder within the "tutorials" folder.

https://github.com/OpenMined/PySyft/tree/master/examples/

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.