layumi / layumi/Image-Text-Embedding

Error in train_flickr_word2_1_pool.m

Open
#15 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
MATLAB
Stars
296
Forks
72
PR merge metrics
No merged PRs in 30d

Description

Hi I was following your instructions from Readme but while executing train_flickr_word2_1_pool.m appeared an error and I have no idea how to deal with it. Can you please help me?
Error description:

>> train_flickr_word2_1_pool
cnn_train_dag: resetting GPU

ans = 

  CUDADevice with properties:

                      Name: 'GeForce RTX 2060'
                     Index: 1
         ComputeCapability: '7.5'
            SupportsDouble: 1
             DriverVersion: 10.1000
            ToolkitVersion: 8
        MaxThreadsPerBlock: 1024
          MaxShmemPerBlock: 49152
        MaxThreadBlockSize: [1024 1024 64]
               MaxGridSize: [2.1475e+09 65535 65535]
                 SIMDWidth: 32
               TotalMemory: 6.2228e+09
           AvailableMemory: 5.5524e+09
       MultiprocessorCount: 30
              ClockRateKHz: 1200000
               ComputeMode: 'Default'
      GPUOverlapsTransfers: 1
    KernelExecutionTimeout: 1
          CanMapHostMemory: 1
           DeviceSupported: 1
            DeviceSelected: 1

train: epoch 01:   1/253:Error using vl_nnconv
The FILTERS depth does not divide the DATA depth.

Error in dagnn.Conv/forward (line 12)
      outputs{1} = vl_nnconv(...

Error in dagnn.Layer/forwardAdvanced (line 85)
      outputs = obj.forward(inputs, {net.params(par).value}) ;

Error in dagnn.DagNN/eval (line 91)
  obj.layers(l).block.forwardAdvanced(obj.layers(l)) ;

Error in cnn_train_dag>processEpoch (line 222)
      net.eval(inputs, params.derOutputs, 'holdOn', s < params.numSubBatches) ;

Error in cnn_train_dag (line 90)
    [net, state] = processEpoch(net, state, params, 'train',opts) ;

Error in train_flickr_word2_1_pool (line 39)
[net,info] = cnn_train_dag(net, imdb, @getBatch,opts) ;

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure from train_flickr_word2_1_pool.m and inspect the call path through cnn_train_dag, dagnn.Conv/forward, and vl_nnconv. Compare the filter and data depths at the failing convolution and verify the MATLAB, GPU, and MatConvNet setup. Done means identifying the compatibility or configuration cause and documenting a reproducible fix or required versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
matlab
Domain
computer-vision, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.