You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When evaluation command "run main.py --mode eval --data_type detection --config_file detection_config.json --data_root_dir ../PubTables1M-Detection-PASCAL-VOC/ --model_load_path ./pubtables1m_detection_detr_r18.pth" is executed, below error log is reported out. How to move on if we stay with python 3.9?
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
File /workspace/externalhome/XAI/table-transformer/src/main.py:22, in <module>
20 import table_datasets as TD
21 from table_datasets import PDFTablesDataset
---> 22 from eval import eval_coco
25 def get_args():
26 parser = argparse.ArgumentParser()
File /workspace/externalhome/XAI/table-transformer/src/eval.py:21, in <module>
19 import matplotlib.pyplot as plt
20 import matplotlib.patches as patches
---> 21 from fitz import Rect
22 from PIL import Image
24 sys.path.append("../detr")
ImportError: cannot import name 'Rect' from 'fitz' (/opt/conda/lib/python3.9/site-packages/fitz/__init__.py)
```
The text was updated successfully, but these errors were encountered:
When evaluation command "run main.py --mode eval --data_type detection --config_file detection_config.json --data_root_dir ../PubTables1M-Detection-PASCAL-VOC/ --model_load_path ./pubtables1m_detection_detr_r18.pth" is executed, below error log is reported out. How to move on if we stay with python 3.9?
The text was updated successfully, but these errors were encountered: