google-research / pix2seq

Pix2Seq codebase: multi-tasks with generative modeling (autoregressive and diffusion)
Apache License 2.0
857 stars 71 forks source link

How to prepare coco data in tfrecord format? #43

Open yangmin666 opened 1 year ago

yangmin666 commented 1 year ago

Your code does not contain the path for the original coco detection dataset.

And the downloading of tfrecord format coco is wrong:“E tensorflow/tsl/platform/cloud/curl_http_request.cc:610] The transmission of request 0x9690640 (URI: https://www.googleapis.com/storage/v1/b/pix2seq/o?fields=items%2Fname%2CnextPageToken&prefi x=multi_task%2Fdata%2Fcoco%2Ftfrecord%2F) has been stuck at 0 of 0 bytes for 61 seconds and will be aborted. CURL timing information: lookup time: 9.4e-05 (No error), connect time: 0 (No error), pre-transfer time: 0 (No er ror), start-transfer time: 0 (No error)”

How to use your code?

yangmin666 commented 1 year ago

I can download your tfrecord format coco manually, but I don't know how tospecify the path. Thank you!