Giter Site home page Giter Site logo

Comments (6)

arun-kumark avatar arun-kumark commented on May 17, 2024

Hi,
While training, I am getting the following error:
tensorflow.python.framework.errors_impl.InvalidArgumentError: Name: , Context feature 'depth' is required but could not be found.
Please help in resolving the issue.

Logs snippet is below:

  File "/home/arun/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py", line 473, in __exit__
    c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.InvalidArgumentError: Name: , Context feature 'depth' is required but could not be found.
	 [[Node: object_detection_dataset/ParseSingleSequenceExample/ParseSingleSequenceExample = ParseSingleSequenceExample[Ncontext_dense=5, Ncontext_sparse=0, Nfeature_list_dense=0, Nfeature_list_sparse=5, Tcontext_dense=[DT_INT64, DT_STRING, DT_INT64, DT_STRING, DT_INT64], context_dense_shapes=[[], [], [], [], []], context_sparse_types=[], feature_list_dense_shapes=[], feature_list_dense_types=[], feature_list_sparse_types=[DT_INT64, DT_INT64, DT_INT64, DT_INT64, DT_INT64], _device="/job:localhost/replica:0/task:0/device:CPU:0"](object_detection_dataset/ReaderReadV2:1, object_detection_dataset/ParseSingleSequenceExample/ParseSingleSequenceExample/feature_list_dense_missing_assumed_empty, object_detection_dataset/ParseSingleSequenceExample/ParseSingleSequenceExample/context_dense_keys_0, object_detection_dataset/ParseSingleSequenceExample/ParseSingleSequenceExample/context_dense_keys_1, object_detection_dataset/ParseSingleSequenceExample/ParseSingleSequenceExample/context_dense_keys_2, object_detection_dataset/ParseSingleSequenceExample/ParseSingleSequenceExample/context_dense_keys_3, object_detection_dataset/ParseSingleSequenceExample/ParseSingleSequenceExample/context_dense_keys_4, object_detection_dataset/ParseSingleSequenceExample/ParseSingleSequenceExample/feature_list_sparse_keys_0, object_detection_dataset/ParseSingleSequenceExample/ParseSingleSequenceExample/feature_list_sparse_keys_1, object_detection_dataset/ParseSingleSequenceExample/ParseSingleSequenceExample/feature_list_sparse_keys_2, object_detection_dataset/ParseSingleSequenceExample/ParseSingleSequenceExample/feature_list_sparse_keys_3, object_detection_dataset/ParseSingleSequenceExample/ParseSingleSequenceExample/feature_list_sparse_keys_4, object_detection_dataset/ParseSingleSequenceExample/Const, object_detection_dataset/ParseSingleSequenceExample/ParseSingleSequenceExample/feature_list_dense_missing_assumed_empty, object_detection_dataset/ParseSingleSequenceExample/Const, object_detection_dataset/ParseSingleSequenceExample/ParseSingleSequenceExample/feature_list_dense_missing_assumed_empty, object_detection_dataset/ParseSingleSequenceExample/Const, object_detection_dataset/ParseSingleSequenceExample/ParseSingleSequenceExample/debug_name)]]

Thanks
Kind Regards
arun

from luminoth.

arun-kumark avatar arun-kumark commented on May 17, 2024

I created the CSV file, and then created the tfrecords file:

The CSV file snap is below:

filename,width,height,class,xmin,ymin,xmax,ymax
2018-02-03_162606_477161855_3.jpg,1280,720,barilla,640,2,1280,511
2018-02-03_162606_477161855_4.jpg,1280,720,barilla,12,456,774,720
2018-02-03_162606_477161855_0.jpg,1280,720,barilla,155,82,949,720
2018-02-03_162606_477161855_2.jpg,1280,720,barilla,21,200,823,720
2018-02-03_162606_477161855_1.jpg,1280,720,barilla,648,1,1280,720

from luminoth.

chricke avatar chricke commented on May 17, 2024

have the same issue - any update on this?

from luminoth.

chricke avatar chricke commented on May 17, 2024

I changed my dataset so it can be transformed using the cvs_reader - that worked for me. Before that i did the conversion manually and the "depth" parameter was missing which is set in the cvs_reader on line 133 to the fixed value of 3.

from luminoth.

 avatar commented on May 17, 2024

I'm also getting the same error.. can someone provide detailed solution?

from luminoth.

dekked avatar dekked commented on May 17, 2024

Please re-report this if it happens with the latest version on master. Closing for now.

from luminoth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.