Tamilselvan K
Tamilselvan K
Hi @mattt , @zeke .. ``` class Predictor(BasePredictor): def setup(self): os.makedirs('weights', exist_ok=True) os.chdir('weights') if not os.path.exists('Swin2SR_ClassicalSR_X4_64.pth'): os.system( 'wget https://github.com/mv-lab/swin2sr/releases/download/v0.0.1/Swin2SR_ClassicalSR_X4_64.pth' ) if not os.path.exists('GFPGANv1.4.pth'): os.system( 'wget https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.4.pth' ) if not os.path.exists('inswapper_128.onnx'):...
``` panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8ad41b] goroutine 1 [running]: github.com/replicate/cog/pkg/cli.predictIndividualInputs({{{0x0, 0x0, 0x0}, {0xc000234250, 0x1, 0x1}, {0x0, 0x0}, {0xc000027278,...
i want to return two output prediction in below code.. ``` if tables_crops: temp_dir = tempfile.mkdtemp() cropped_table_path = Path(temp_dir) / f'cropped_table.jpg' # Save the cropped table image in the temporary...
can't import u2net model from model location..can u fix it..thanks in advance!!!
can anyone explain how to run predict.py file ...need step by step procedure ...thx in advance!!! @xinntao
@Dod-o Model I am using DIT : documents layout analysis ``` import os os.system('pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.9/index.html') os.system("git clone https://github.com/microsoft/unilm.git") import sys sys.path.append("unilm") import cv2 from unilm.dit.object_detection.ditod import add_vit_config...
hi @NielsRogge , i have use paddleocr instead of easyocr in table transfomer nd i have an issue can u resolve it !!! ``` # load paddleOCR ocr = PaddleOCR(use_angle_cls=True,...
@NielsRogge ..i am working on DIT- documents layout analysis ``` import os os.system('pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.9/index.html') os.system("git clone https://github.com/microsoft/unilm.git") import sys sys.path.append("unilm") import cv2 from unilm.dit.object_detection.ditod import add_vit_config import...
@NielsRogge i am facing this issue.... ``` from transformers import TrainingArguments, Trainer training_args = TrainingArguments(output_dir="test", max_steps=1000, per_device_train_batch_size=2, per_device_eval_batch_size=2, learning_rate=1e-5, evaluation_strategy="steps", eval_steps=100, load_best_model_at_end=True, metric_for_best_model="f1") ``` --------------------------------------------------------------------------- ImportError Traceback (most recent call...
Hi bro @NielsRogge while extracting information from detected table are not accurate.. The table which is correctly find..  The output i get..for above table ``` Max number of columns:...