conjuncts/gmft

Examine redownloaded preprocessor_config.json

Closed this issue · 1 comments

A test flaked due to a faulty internet connection, mentioning a redownloaded preprocessor_config.json file.

The error was:

c:\gmft\test\test_full.py::test_tiny_df failed: self = <urllib3.connectionpool.HTTPSConnectionPool object at 0x000002258B80F490>
conn = <urllib3.connection.HTTPSConnection object at 0x000002258B80DF90>
method = 'HEAD'
url = '/microsoft/table-transformer-detection/resolve/main/preprocessor_config.json'
body = None
...

This suggests that an internet connection is still needed for local inference.

Potentially related:
https://stackoverflow.com/questions/76912378/save-load-huggingface-model-and-image-processor-from-local-disk

https://huggingface.co/microsoft/table-transformer-structure-recognition/discussions/5

Should be fixed with 8de6374 with no_timm