This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"apple pie": "[\"pizza\", \"pizza\", \"making pizza\", \"Pizza Tossing\", \"pizza\"]", | |
"baby back ribs": "[\"crab cakes\", \"lobster bisque\", \"lobster roll sandwich\", \"Dungeness crab\", \"rock crab\", \"fiddler crab\", \"red king crab\", \"American lobster\", \"spiny lobster\", \"hermit crab\", \"crab\", \"lobster\"]", | |
"baklava": "[\"beet salad\", \"bee eater\", \"bee\", \"bee keeping\", \"bee balm\"]", | |
"beef carpaccio": "[\"cheese plate\", \"grilled cheese sandwich\", \"plate rack\", \"plate\", \"making cheese\"]", | |
"beef tartare": "[\"zucchini\", \"spaghetti squash\", \"acorn squash\", \"butternut squash\", \"eating spaghetti\"]", | |
"beignets": "[\"pizza\", \"pizza\", \"making pizza\", \"Pizza Tossing\", \"pizza\"]", | |
"bibimbap": "[\"barbell\", \"sandbar\", \"barbequing\", \"bar\", \"sandbar\", \"wet bar\"]", | |
"bread pudding": "[\"cheese plate\", \"grilled cheese sandwich\", \"plate rack\", \"plate\", \"making cheese\"]", | |
"breakfast burrito": "[\"pizza\", \"pizza\", \"ma |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from torchvision.transforms import Resize | |
from torchvision.transforms import InterpolationMode | |
import numpy as np | |
dims, channels = (224, 224), 3 | |
mean = (0.48145466, 0.4578275, 0.40821073) | |
std = (0.26862954, 0.26130258, 0.27577711) | |
resize_fn = Resize(dims, interpolation=InterpolationMode.BICUBIC) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"food101": [ | |
"apple pie", | |
"baby back ribs", | |
"baklava", | |
"beef carpaccio", | |
"beef tartare", | |
"beet salad", | |
"beignets", | |
"bibimbap", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
raw_data/drive-download-001/Application Development and Services Agreement - executed 171219 2.pdf | |
raw_data/drive-download-001/Application Development and Services Agreement - executed 171219.pdf | |
raw_data/drive-download-001/Coffee 02-05-2023.pdf | |
raw_data/drive-download-001/Coffee 15-05-2023.pdf | |
raw_data/drive-download-001/Coffee 17th July 2.pdf | |
raw_data/drive-download-001/Coffee 2 02-05-2023.pdf | |
raw_data/drive-download-001/Coffee 2 15-05-2023.pdf | |
raw_data/drive-download-001/Coffee Sanjay 16-05-2023.pdf | |
raw_data/drive-download-001/Coffee Team 02-05-2023.pdf | |
raw_data/drive-download-001/Drinks ClickQA CEO 15-05-2023.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import glob | |
import os | |
import cv2 | |
import pytesseract | |
import utils | |
import json | |
import matplotlib.pyplot as plt | |
ANNOT_FILE = "annotations.json" | |
DATA_DIR = "/home/prime/Dataset/lines" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I DON'T KNOW HOW TO EMBED EMAIL ADDRESS INTO GITHUB'S MARKDOWN. | |
<sahiluppal2k@gmail.com> | |
IF YOU KNOW HOW TO DO THIS, YOU CAN MAIL ME. | |
YOU GOT MY MAIL RIGHT? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import torch | |
from transformers import BertTokenizer | |
from PIL import Image | |
import argparse | |
import os | |
from datasets import coco, utils | |
from configuration import Config |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" nvim-completion setup | |
" Tab S-Tab movement | |
inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>" | |
inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>" | |
" Config | |
lua << EOF | |
require'compe'.setup { | |
enabled = true; | |
autocomplete = true; | |
debug = false; |