Skip to main content
The 2024 Developer Survey results are live! See the results
Gulzar's user avatar
Gulzar's user avatar
Gulzar's user avatar
Gulzar
Algorithm Engineer
  • Member for 12 years, 11 months
  • Last seen more than a week ago
284 votes
5 answers
310k views

What does model.eval() do in pytorch?

124 votes
4 answers
92k views

What's the difference between torch.stack() and torch.cat() functions?

113 votes
16 answers
16k views

Why is a segmentation fault not recoverable?

108 votes
4 answers
176k views

How to do gradient clipping in pytorch?

47 votes
3 answers
89k views

How to add a new dimension to a PyTorch tensor?

29 votes
2 answers
19k views

PyTorch: What's the difference between state_dict and parameters()?

29 votes
1 answer
35k views

Pytorch ValueError: optimizer got an empty parameter list

26 votes
7 answers
42k views

Ionic2 Error: "No provider for Storage"

25 votes
7 answers
75k views

How to convert a pytorch tensor into a numpy array?

24 votes
3 answers
43k views

How to check if a tensor is on cuda or send it to cuda in Pytorch?

23 votes
4 answers
28k views

How can I go to a function's definition in Jupyter notebook?

22 votes
6 answers
63k views

name '_C' is not defined pytorch+jupyter notebook

21 votes
1 answer
10k views

How to check if a model is in train or eval mode in Pytorch?

18 votes
2 answers
10k views

WHAT operations become slow when git repos become large, and WHY?

18 votes
2 answers
7k views

Why use positional-only parameters in Python 3.8+?

17 votes
2 answers
20k views

Pytorch: RuntimeError: reduce failed to synchronize: cudaErrorAssert: device-side assert triggered

16 votes
2 answers
18k views

How to convert one-hot vector to label index and back in Pytorch?

16 votes
3 answers
10k views

How deal with warning "Access to protected member" in pycharm method?

15 votes
3 answers
8k views

Type hint for Callable that takes kwargs

14 votes
1 answer
9k views

robocopy causes exit(1) on success

14 votes
2 answers
10k views

How to pass arguments to openai-gym environments upon init

13 votes
2 answers
25k views

How to show all running containers created by docker-compose, globally, regardless of docker-compose.yml

13 votes
1 answer
41k views

How to install python specific version on docker?

12 votes
3 answers
3k views

Pycharm doesn't recognize packages with remote interpreter

11 votes
3 answers
15k views

What are the numbers in torch.transforms.normalize and how to select them?

11 votes
1 answer
6k views

pytest exec code in self.locals SyntaxError: Missing parentheses in call to 'exec'

9 votes
1 answer
11k views

How to assign a name for a pytorch layer?

9 votes
1 answer
982 views

Pytorch: How to create an update rule that doesn't come from derivatives?

9 votes
1 answer
7k views

How to run a python script with its environment from another script with another environment?

9 votes
2 answers
793 views

Indexing numpy array with index array of lower dim yields array of higher dim than both

1
2 3 4 5
13