Community Profile

photo

David Ho

MathWorks

Last seen: Today Active since 2022

Deep Learning Software Engineer at MathWorks.

Statistics

  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

Answered
Does DeepNetworkDesigner support Transformer Layers?
Hi Subhadip, In R2023b, the following layers are supported in Deep Network Designer that are commonly used in transformers: se...

2 months ago | 0

Answered
Custom loss function for DNN training
Hello Fotios, You can solve this constrained learning problem using a dlnetwork object and a custom training loop: https://uk....

6 months ago | 0

Answered
deep learning toolbox : Input format mismatch
Hello 湃林, It looks like the error in the multiplication layer comes from the fact that one of the inputs, from the LSTM layer, ...

6 months ago | 1

| accepted

Answered
Resizing images to 224*224 for training VGG16 Model
Hi Lalaine, The "splitEachLabel" function only accepts ImageDatastores as an input. To make training, validation and test data ...

12 months ago | 0

| accepted

Answered
Cannot assemble a convolutional network with output sequence length less than input sequence length
Hello bwaite56, Unfortunately the "assembleNetwork" and "trainNetwork" functions don't currently support sequence-to-sequence r...

1 year ago | 0

| accepted

Answered
Can I import a Google Colab yolov4 trained detector to MATLAB?
Hello Matheus, You can import trained models into MATLAB from TensorFlow, PyTorch and ONNX and use them for inference. To get s...

1 year ago | 1

| accepted

Answered
Classification Learner not responding in Machine Learning Onramp Module 5: I can't start a new session
Hi Temitope, I'm sorry to hear you are having issues with the Classification Learner app in Machine Learning Onramp. You might ...

1 year ago | 0

Answered
Deep Learning Toolbox - Structuring the Training Data from Imported Data
Hello PB75, If I understand it correctly, you would like to arrange data_03, data_04, data_05 and data_06 into a cell array tha...

1 year ago | 1

| accepted

Answered
How to write imageDatastore include labels.
To combine the two datastores into a single datastore, one option would be to use the combine function to create a CombinedDatas...

1 year ago | 0

| accepted

Answered
Not enough input arguments - trainNetwork
As Walter has pointed out, if your data is in a numeric array, you need to pass predictors and responses separately. For a cla...

1 year ago | 0

Answered
How to input CNN images from two sources?
Hello Andrey, In this case you can use the "combine" function to create a combinedDatastore object of the form accepted by trai...

1 year ago | 1

| accepted

Answered
is it possible to make "Sequence-to-Sequence Classification" using custom CNN network?
I would recommend getting started by taking a look at the following example: https://uk.mathworks.com/help/releases/R2022a/deep...

1 year ago | 0

| accepted