Skip to content

Instantly share code, notes, and snippets.

@ttchengab
Created October 21, 2020 01:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ttchengab/01280236448e4fc4a03505f6f0baea3f to your computer and use it in GitHub Desktop.
Save ttchengab/01280236448e4fc4a03505f6f0baea3f to your computer and use it in GitHub Desktop.
# Import PyTorch Library
import torch
from torch import nn
# Import external libraries
import argparse
import numpy as np
import opencv_wrapper as cvw
from skimage.filters import threshold_local
import json
import random
from string import ascii_uppercase, digits, punctuation
import colorama
import regex
@deepanshu1422
Copy link

deepanshu1422 commented May 8, 2021

--use-deprecated=legacy-resolver

pip install --force-reinstall numpy==1.19.3

use this flag in opencv_wrapper to avoid dependency errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment