Skip to main content
Gulzar's user avatar
Gulzar's user avatar
Gulzar's user avatar
Gulzar
Machine Learning and Data Engineer
  • Member for 14 years, 6 months
  • Last seen this week
302 votes
6 answers
366k views

What does model.eval() do in pytorch?

129 votes
4 answers
102k views

`stack()` vs `cat()` in PyTorch

121 votes
5 answers
203k views

How to do gradient clipping in pytorch?

114 votes
16 answers
18k views

Why is a segmentation fault not recoverable?

56 votes
3 answers
126k views

How to add a new dimension to a PyTorch tensor?

37 votes
2 answers
21k views

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

32 votes
1 answer
38k views

Pytorch ValueError: optimizer got an empty parameter list

29 votes
6 answers
75k views

name '_C' is not defined pytorch+jupyter notebook

27 votes
8 answers
82k views

How to convert a pytorch tensor into a numpy array?

27 votes
3 answers
48k views

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

26 votes
7 answers
42k views

Ionic2 Error: "No provider for Storage"

25 votes
2 answers
12k views

Why use positional-only parameters in Python 3.8+?

24 votes
4 answers
32k views

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

24 votes
1 answer
12k views

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

21 votes
3 answers
15k views

Type hint for Callable that takes kwargs

19 votes
1 answer
13k views

robocopy causes exit(1) on success

18 votes
2 answers
11k views

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

18 votes
2 answers
22k views

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

17 votes
2 answers
21k views

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

17 votes
1 answer
49k views

How to install python specific version on docker?

16 votes
3 answers
11k views

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

15 votes
2 answers
38k views

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

14 votes
2 answers
11k views

How to pass arguments to openai-gym environments upon init

14 votes
3 answers
18k views

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

12 votes
3 answers
6k views

Pycharm doesn't recognize packages with remote interpreter

11 votes
1 answer
6k views

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

10 votes
1 answer
9k views

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

9 votes
2 answers
818 views

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

9 votes
1 answer
1k views

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

9 votes
1 answer
13k views

How to assign a name for a pytorch layer?

1
2 3 4 5
14