Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tfRecord grayed out #2711

Closed
2 tasks done
ericchen321 opened this issue Jan 24, 2021 · 6 comments
Closed
2 tasks done

tfRecord grayed out #2711

ericchen321 opened this issue Jan 24, 2021 · 6 comments

Comments

@ericchen321
Copy link

My actions before raising this issue

Expected Behaviour

When exporting a job in TFRecord format (including the .tfRecord file and the .pbtxt file) by clicking Export as a Dataset -> TFRecord 1.0, I expected the TFRecord option to be not grayed out, as on cvat.org:

image

Current Behaviour

but I saw the TFRecord option being grayed out when I tried, while running CVAT locally on my desktop:

image

Steps to Reproduce (for bugs)

  1. Install CVAT following the installation doc, and launch CVAT
  2. Create a project and a task under the project created
  3. Import Pascal-VOC annotations (a list of .xml files) for the task
  4. Export as a Dataset -> TFRecord 1.0

Context

I was trying to use CVAT to convert YOLO annotations to TFRecord for a dataset I created.

Your Environment

  • Git hash commit: 3ced77c
  • Docker version : 20.10.2
  • Are you using Docker Swarm or Kubernetes? No
  • Operating System and version (e.g. Linux, Windows, MacOS): Ubuntu 18.04
  • Code example or link to GitHub repo or gist to reproduce problem: No code
  • Other diagnostic information / logs: None
@azhavoro
Copy link
Contributor

@ericchen321 Hi, make sure that your CPU supports AVX instruction set. #1393

@ericchen321
Copy link
Author

Hey @azhavoro , thanks for the help! Yes, my CPU (Xeon E5-1650) supports the AVX instruction set, based on docs I found here. Also if I ssh into the docker container, and run pip list, I cannot see tensorflow listed.

@azhavoro
Copy link
Contributor

azhavoro commented Jan 29, 2021

@ericchen321 probably there is an issue with tensorflow==2.4.0 https://github.com/openvinotoolkit/cvat/blob/develop/cvat/requirements/base.txt#L42 which requires avx2 support, and looks like this was removed in 2.4.1 (tensorflow/tensorflow#45866). could you please change corresponding line in the base.txt and send PR if that helps?

@azhavoro
Copy link
Contributor

azhavoro commented Mar 5, 2021

@ericchen321 Have you solved the issue?

@ericchen321
Copy link
Author

@ericchen321 Have you solved the issue?

Hi @azhavoro , sorry for not replying earlier. Due to our time constraints, we did not keep on debugging, and moved onto Roboflow to generate .tfrecord files. But thank you for the help anyway!

@azhavoro azhavoro closed this as completed Mar 9, 2021
@mgroenemeijer
Copy link

mgroenemeijer commented Mar 20, 2021

Same issue. It is grayed out for me aswell, tensorflow is listed within the docker container. Any advice?

The base.txt:
tensorflow==2.4.1 # Optional requirement of Datumaro

Pip list
tensorflow 2.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants