Community Profile

photo

Joss Knight

MathWorks

Last seen: 4 jours il y a Actif depuis 2013

Although I cannot be contacted directly, if you would like to ask me a question all you have to do is mention "GPU" somewhere in your MATLAB Answers question.

Statistics

  • 36 Month Streak
  • Knowledgeable Level 5
  • Pro
  • Revival Level 2
  • First Answer

Afficher les badges

Content Feed

Afficher par

A répondu
how to run a function on GPU cores
It's probably best to read the extensive documentation available online that should give you a complete picture of how to levera...

11 jours il y a | 0

A répondu
Custom Layer Learnable Parameters Initialization.
This is now supported via the optional method initialize: https://www-integ2.mathworks.com/help/deeplearning/ug/define-custom-de...

21 jours il y a | 1

A répondu
Disable the gpu.
As soon as you start MATLAB type setenv CUDA_VISIBLE_DEVICES -1 MATLAB will no longer recognise any GPU for computation.

21 jours il y a | 2

A répondu
Algorithm to extract linearly dependent columns in a large scale [-1,1] matrix ( 10^5 by 10^6)
You might consider using distributed arrays on an HPC cluster.

29 jours il y a | 0

A répondu
Accuracy problems using mldivide on GPU
The answer is not less accurate, it is just as inaccurate. What you have are 60001 massively overdetermined systems generated by...

29 jours il y a | 1

A répondu
When training a neural network does every training image need to have every pixel class?
The answer to question 1 is no. The answer to question 3 is that probably 126 training images is not sufficient, you might need ...

29 jours il y a | 0

A répondu
How to use Sum and Dot function in GPU computation with arrayfun?
You cannot perform vector operations in GPU arrayfun. The a and b arguments to your function are not the whole array, they are t...

environ un mois il y a | 0

| A accepté

A répondu
Double precision in deep learning
This is possible with a |dlnetwork| but it is (currently) more of a workaround than anything else. Once your dlnetwork is ready ...

environ 2 mois il y a | 0

A répondu
When I want to train Fully convolutional neural network, I have the following error
I suspect your best bet here is to upgrade MATLAB to a more recent version. Many of these bugs will be fixed with newer versions...

environ 2 mois il y a | 0

A répondu
Error saying ''Dot Indexing is not supported for variables of this type".
This could be a bug, especially if you didn't modify the example code. What is the data you passed to |adamupdate|?

environ 2 mois il y a | 0

A répondu
YoloV4 - Out of memory
Generally the best solution here is to reduce the size of the input data. Still, these object detector networks do seem to be...

environ 2 mois il y a | 0

| A accepté

A répondu
Why is my GPU code faster with the profiler on in RTX GPUs?
This is due to an optimization which is not performing ideally under memory pressure. If you reduce the size of your input you'l...

2 mois il y a | 0

A répondu
Conflicting behaviour of arrayfun() with gpu: example that works and example of error
The function normcdf isn't supported by GPU arrayfun because it accepts varargin. For a list of supported functions see the docu...

3 mois il y a | 0

| A accepté

A répondu
How to initialize a string variable, and pass it to the matlab function using GPU coder
MATLAB and Simulink code generation do not currently support string. Edit: Sorry, my bad, it does support scalar strings, but n...

3 mois il y a | 0

| A accepté

A répondu
need to plot the accuracy vs epoch graph
Add Plots="training-progress" to your training options. FWIW, you shouldn't use ReadFcn for resizing images, it dramatically sl...

3 mois il y a | 1

A répondu
Update BatchNorm Layer State in Siamese netwrok with custom loop for triplet and contrastive loss
Interesting question! The purpose of batch norm state is to collect statistics about typical inputs. In a normal Siamese workflo...

3 mois il y a | 0

| A accepté

A répondu
gpu arrayfun don't support linspace or NaN array
You cannot create an array inside a call to GPU arrayfun, only scalars.

3 mois il y a | 0

A répondu
GPU Support for RTX 4090
Forgive me for needing to correct Walter, but the last three versions of MATLAB _will_ natively support the 4000 series because,...

3 mois il y a | 2

A répondu
mexcuda gives unsupported GNU version error
R2022a uses CUDA 11.2, not 11.7. I suspect that the actual compiler that ends up being used is the version of nvcc shipped with ...

5 mois il y a | 0

| A accepté

A répondu
GPU speed up for pcg() is disappointing
I'm guessing LL' is extremely dense, which will explain why the solver stalls. On the GPU the preconditioning is (currently) per...

5 mois il y a | 0

| A accepté

A répondu
How to implement Siamese network with the two subnetworks not share weights
You can try gathering the weights back from each network after you've used it, as in net = dlupdate(@gather,net). This should sa...

5 mois il y a | 0

A répondu
Speed up inference or/and training of a 3D deep neural network (U-net) for a regression task
Have you tried using dlaccelerate? As well as ensuring any Custom Layers are using the Acceleratable mixin?

5 mois il y a | 1

| A accepté

A répondu
Matrix multiplication optimization using GPU parallel computation
The Windows Task Manager lets you track GPU utilization and memory graphically, and the utility nvidia-smi lets you do it in a t...

6 mois il y a | 1

A répondu
How to increase MiniBatchSize
It depends on what you're doing. Some ideas: * Get a new GPU with more memory * Use a smaller model * If your model accepts...

6 mois il y a | 0

A répondu
Matlab trainNetwork CNN training pauses iterating intermittently at random then continues
Is the pause associated with a validation measurement being added to the training plot? With 7 times as much validation data it ...

6 mois il y a | 0

A répondu
problems with @arrayfun on GPU
This is a bug. I have reported it. Thanks for finding it! In the meantime, you can work around the issue by using a local funct...

6 mois il y a | 0

| A accepté

A répondu
A problem when using "multi-gpu" as "ExecutionEnvironment" for training a CNN
Most likely this is this issue, which is fixed in the latest update to R2022a. You can also try downgrading your GPU drivers.

6 mois il y a | 0

| A accepté

A répondu
Perform mldivide between 3x3 matrix M and every RGB pixel in a image in GPU
I feel like I'm missing something - this is just a single backslash with multiple right-hand sides, or to avoid permutation a si...

7 mois il y a | 1

A répondu
Library not loaded: @rpath/libcudart.10.2.dylib
This problem should now be fixed at Apple, please reboot and report here if you are still experiencing issues.

7 mois il y a | 0

A répondu
Warning: GPU is low on memory
A 3-D U-net is a very large model. Try reducing |patchSize|, |patchPerImage|, |miniBatchSize| and |inputSize|.

8 mois il y a | 0

| A accepté

Charger plus