google-research / pix2seq

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

fix image sizes which were in tuple #26

Open M-Amrollahi opened 1 year ago

M-Amrollahi commented 1 year ago

According to issue No.23, I had a minor fixes on code.

These is also a minor change needs to be applied on last cell in Notebook. I did not put it in this request because of many changes on raw ipynb file:

features, labels = data_utils.preprocess_eval(
    features,
    labels,
    max_image_size=[config.model.image_size,config.model.image_size],
    max_instances_per_image=1)
google-cla[bot] commented 1 year ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.