google-research / tapas

End-to-end neural table-text understanding models.
Apache License 2.0
1.13k stars 216 forks source link

run the pipeline locally only to get empty floders #139

Open airsYuan opened 2 years ago

airsYuan commented 2 years ago

Thanks for releasing the code. When I run the pipeline locally, only to get three empty folders like "beam-temp-test.tfrecord-3e99843c1d3411ec8a4cfa163ee22da8". And the logs shows "I0925 18:54:12.767069 139992182503232 number_annotation_utils.py:149] Can't consolidate types: (None, text: "Portland, Maine mayoral election, 2011\nCount 6". I would appreciate it if you could offer me some advice to make it works.

airsYuan commented 2 years ago

Dear developers: Another question is when I run tapas/experiments/tapas_classifier_experiment.py(MATE) raising an error: _get_projection_length' is not defined. I try to import the function, however, it can not be searched from other "*.py" files.

SyrineKrichene commented 2 years ago

Hi,

Thank you for spotting this error. The fix is in the latest release. (The function _get_projection_length is added.)

Thanks, Syrine

On Mon, Sep 27, 2021 at 4:48 AM airsYuan @.***> wrote:

Dear developers: Another question is when I run tapas/experiments/tapas_classifier_experiment.py(MATE) raising an error: _get_projection_length' is not defined. I try to import the function, however, it can not be searched from other "*.py" files.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/google-research/tapas/issues/139#issuecomment-927475691, or unsubscribe https://github.com/notifications/unsubscribe-auth/APARZOPTXII2TJU7NLAVPD3UD7LONANCNFSM5EXW3WXQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.