models icon indicating copy to clipboard operation
models copied to clipboard

InvalidArgumentError (see above for traceback): Incompatible shapes: [2,1917] vs. [8,1]

Open Shadowkm opened this issue 8 years ago • 2 comments

the train.py file was in the directory legacy, so I copied it into models/research/object-detection.

Not any custom code, I have just followed a tutorial and tried to replicate the same. The tutorial that I follow is: https://www.youtube.com/watch?v=kq2Gjv_pPe8

I run on windows 10 with Python 3.6 (Anaconda).

Installed tensorflow using the pip command.

Tensorflow version 1.9

Bazel version: Not sure about this as the tutorial didn't say anything about this.

CUDA/cuDNN: No

GPU model and memory: I think I'm just using CPU as I'm training on only 20 images.

Exact command used: python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/ssd_mobilenet_v1_pets.config

What happened? I am very urgent about this issue

Shadowkm avatar Oct 15 '18 15:10 Shadowkm

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks. What is the top-level directory of the model you are using Have I written custom code OS Platform and Distribution TensorFlow installed from CUDA/cuDNN version Exact command to reproduce

tensorflowbutler avatar Oct 16 '18 02:10 tensorflowbutler

Hi There, We are checking to see if you still need help on this, as this seems to be considerably old issue. Please update this issue with the latest information, code snippet to reproduce your issue and error you are seeing. If we don't hear from you in the next 7 days, this issue will be closed automatically. If you don't need help on this issue any more, please consider closing this.

tensorflowbutler avatar Jan 29 '20 23:01 tensorflowbutler