examples icon indicating copy to clipboard operation
examples copied to clipboard

A set of examples around pytorch in Vision, Text, Reinforcement Learning, etc.

Results 210 examples issues
Sort by recently updated
recently updated
newest added

Hello, I would like to use it in Image Processing for calculating the similarity between two photos. I am thinking Pytorch is really well for this process. But I couldn't...

I want to run the Resnet on two different machines , how to run the main.py When i change the code by add the follow `# on rank 0 dist.init_process_group(...

I really want to know how to make the format of dataset.I have 30-demension variables as input and 0-1class as output .how can I put it into the SAC model?

[This](https://github.com/pytorch/examples/blob/main/vision_transformer/main.py) example fails: ``` $ python3.9 main.py Files already downloaded and verified Files already downloaded and verified Error in cpuinfo: operating system is not supported in cpuinfo Traceback (most recent...

Example based on [multigpu_torchrun](https://github.com/pytorch/examples/blob/main/distributed/ddp-tutorial-series/multigpu_torchrun.py) But when viewing in nvidia-smi, I see that only 1 card is loaded: +-----------------------------------------------------------------------------+ | NVIDIA-SMI 525.60.13 Driver Version: 525.60.13 CUDA Version: 12.0 | |-------------------------------+----------------------+----------------------+ |...

Your issue may already be reported! Please search on the [issue tracker](https://github.com/pytorch/examples/issues) before creating one. ## Context * Pytorch version: * Operating System and version: pytorch/pytorch:2.0.0-cuda11.7-cudnn8-runtime ## Your Environment *...

distributed

By setting up multiple Gpus for use, the model and data are automatically loaded to these Gpus for training. What is the difference between this way and single-node multi-GPU distributed...

## 📚 Documentation https://github.com/pytorch/examples/tree/main/distributed/ddp#argument-passing-convention Here it say " --local_world_size: This is passed in explicitly and is typically either or the number of GPUs per node. " I can't understand this...

Add GPU option to command argument. * --no-cuda" ( default is False ) * --no-mps" ( default is False )

cla signed

Corrected a bug on rpc batch training that prevented updating the weights manually because of a None Type error

cla signed