This file contains hidden or 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
type: SynTabNet | |
load: | |
parts: | |
- jsonl: ~/data/synthtabnet/fintabnet/synthetic_data.jsonl | |
image: ~/data/synthtabnet/fintabnet/images/ | |
- jsonl: ~/data/synthtabnet/marketing/synthetic_data.jsonl | |
image: ~/data/synthtabnet/marketing/images/ | |
- jsonl: ~/data/synthtabnet/pubtabnet/synthetic_data.jsonl | |
image: ~/data/synthtabnet/pubtabnet/images/ | |
- jsonl: ~/data/synthtabnet/sparse/synthetic_data.jsonl |
This file contains hidden or 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 argparse | |
import time | |
from datetime import timedelta as td | |
from pathlib import Path | |
from mutab.utils import collect_env | |
from paddleocr import PaddleOCR | |
from tqdm import tqdm | |
This file contains hidden or 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 argparse | |
import lzma | |
import pickle | |
import statistics | |
import sys | |
from lxml import html | |
from mutab.datasets import TableHardDiskLoader | |
This file contains hidden or 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
package main | |
import ( | |
"bufio" | |
_ "embed" | |
"github.com/pkg/browser" | |
"github.com/sqweek/dialog" | |
"os" | |
"os/exec" | |
"strings" |
This file contains hidden or 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
package audio | |
import ( | |
"bytes" | |
"encoding/binary" | |
"github.com/gen2brain/malgo" | |
) | |
type Handler func([]float64) |
This file contains hidden or 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 collections import deque | |
import numpy as np | |
from numpy.linalg import norm | |
def lbfgs( | |
x, | |
f, | |
g, |
This file contains hidden or 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
/******************************************************************************* | |
* Amateur Radio Operational Logging Software 'ZyLO' since 2020 June 22nd | |
* Released under the MIT License (or GPL v3 until 2021 Oct 28th) (see LICENSE) | |
* Univ. Tokyo Amateur Radio Club Development Task Force (https://nextzlog.dev) | |
*******************************************************************************/ | |
package main | |
import ( | |
"github.com/thoas/go-funk" | |
"math" |