Respondida
Why do I receive the error "CUDA_ERROR_ILLEGAL_ADDRESS" despite of successfully compiling the cuda mex function.
I suspect your kernel is writing into out-of-bounds memory. The next time the device synchronizes the error will be reported, wh...

alrededor de 4 años hace | 0

Respondida
Not using GPU for trainNetwork?
Nearly always in cases like this you just need to install your GPU drivers from NVIDIA: https://www.nvidia.co.uk/Download/driver...

alrededor de 4 años hace | 0

| aceptada

Respondida
Develop WGAN-GP for 3-D image
You definitely need to use EnableHigherOrderDerivatives here because you are including computed gradients in the loss term. With...

alrededor de 4 años hace | 0

| aceptada

Respondida
How can I validate CNN after training?
The easiest way to validate after training for classification is to do exactly what you do in your example code to check the acc...

alrededor de 4 años hace | 0

| aceptada

Respondida
(Windows 10) Limiting GPU access: What is the default file location of the functional MATLAB application?
Deselecting the device for use for computation doesn't stop MATLAB using it for graphics. The actual exe you're looking for is ...

alrededor de 4 años hace | 0

Respondida
Tutorial / classes / training for developing asynchronous CUDA and MEX code?
Make all the variables involved gpuArray objects and those lines of code will run as asynchronously as the GPU allows. This mean...

alrededor de 4 años hace | 0

| aceptada

Respondida
Error with averagePooling1dLayer (pooling dimension lower than pooling size)
The time dimension is variable so just because you happen to be passing a long sequence into the network doesn't mean you're not...

alrededor de 4 años hace | 0

| aceptada

Respondida
pixelLabelImageDatastore not partitionable despite underlying imageDatastore and pixelLabelDatastore are
For parallel training of a semantic segmentation network, you're supposed to use combine to join the two input datastores rather...

más de 4 años hace | 0

| aceptada

Respondida
Error in helperModClassTrainingOptions (line 29) 'CheckpointPath',checkpointPath,...
You need to pass the checkpointPath variable to your function.

más de 4 años hace | 0

| aceptada

Respondida
How to increase gpu usage?
To get GPU utilization high you need to give it a lot of high resolution work to do. Often RL problems, especially the ones in o...

más de 4 años hace | 1

| aceptada

Respondida
Increasing effective GPU memory through parallel GPUs?
The only way to do this is to divide your computation up manually and spread the work across your GPUs by using a parallel pool ...

más de 4 años hace | 0

Respondida
Parallel CPU computing for recurrent Neural Networks (LSTMs)
That doc page is about shallow networks (using train) rather than deep networks (using trainNetwork). Parallel training in train...

más de 4 años hace | 1

Respondida
CNN-LSTM validation data underperforming compared to training data
I don't know why your model seems to be overfitting, but I can confirm that your validation data is being run through the exact ...

más de 4 años hace | 1

Respondida
Error using pagefun with mldivide
This is a known bug in cublas introduced in CUDA 11 and fixed in the next MATLAB release. The workaround, as you correctly disco...

más de 4 años hace | 0

| aceptada

Respondida
Is it possible to use variable length arrays with SequenceInputLayer in a custom training loop, i.e. as a dlarray?
dlnetwork objects do not take your entire dataset as input, they expect to receive a single batch at a time. You need to loop ov...

más de 4 años hace | 1

| aceptada

Respondida
Can I use my CPU and GPU simultaneously for Numerical Simulation?
canUseGPU is the easiest way to write code that diverges based on whether a supported GPU is available. A good design should nee...

más de 4 años hace | 2

Respondida
Force CPU Parallel pool
You should use 'ExecutionEnvironment','cpu' for training on your local machine. This is multithreaded and will use all your core...

más de 4 años hace | 2

Respondida
Increrasing the validation accuracy
There's no way to do this automatically, but in your case just using the default 'OutputNetwork' setting ( last-iteration ) woul...

más de 4 años hace | 0

Respondida
gpu limit on 3070 with a simple CNN
You have 2-D data so you can't use a resize3dLayer. Use a resize2dLayer. But actually it doesn't look like that's what you want....

más de 4 años hace | 0

| aceptada

Respondida
Indexing after knnsearch with GPU is slow
wait just asks the GPU to finish executing any pending operations, in this case, the call to knnsearch. Your previous timing cod...

más de 4 años hace | 0

| aceptada

Respondida
How to fix the GPU warning?
It's all pretty clear from the documentation. Ampere cards are not supported in R2019a. You are using forward compatibility, whi...

más de 4 años hace | 0

| aceptada

Respondida
ExecutionEnviroment problem on optimizer at traininOptions
It looks like you typed ExecutionEnviroment instead of ExecutionEnvironment (ie. you missed the second 'n').

más de 4 años hace | 0

Respondida
augmentedImageDatastore, understanding the flow of how it works
1) Yes 2) What is that 3rd dimension? Is this an index image? I think augmentedImageDatastore only understands grayscale and RG...

más de 4 años hace | 1

| aceptada

Respondida
What is different between AvailableMemory and FreeMemory?
Both are valid and supported, but FreeMemory was replaced many years ago by AvailableMemory as the documented way to determine h...

más de 4 años hace | 0

Respondida
Loadlibrary C library (dll) changing Matrix in place?
MATLAB is being exception safe and preserving your workspace by not silently modifying variables as a side effect. The only cert...

más de 4 años hace | 0

| aceptada

Respondida
gpu memory cannot be released
This memory contains device binaries, i.e. program code, as well as workspace set aside for the CUDA libraries and not available...

más de 4 años hace | 0

| aceptada

Respondida
sparse in cuda matlab shows bad performance
It is often slower. The problem is that sparse factorizations create dense matrices...basically, it's hard to parallelize. We...

más de 4 años hace | 0

| aceptada

Respondida
Using multi-gpu in minibatchqueue
https://uk.mathworks.com/help/deeplearning/ug/train-network-in-parallel-with-custom-training-loop.html will show you how to use ...

más de 4 años hace | 0

Respondida
How to use multiple gpu on CGAN?
SPMD wraps the whole epoch loop. After you open it you partition the data and then start looping. See https://uk.mathworks.com/h...

más de 4 años hace | 0

Respondida
Memory increases on GPU while performing modification inplace
MATLAB cannot perform this operation in place because |data| is a workspace variable. MATLAB has no way of knowing there won't b...

más de 4 años hace | 0

Cargar más