Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Guided_Upsample/src/dataset_my.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import os
import glob
import scipy
import torch
import random
import numpy as np
Expand Down
1 change: 0 additions & 1 deletion Guided_Upsample/src/degradation.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import numpy as np
import random
from io import BytesIO
from scipy import ndimage, misc
import argparse
import os

Expand Down
3 changes: 1 addition & 2 deletions Transformer/utils/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import cv2
from PIL import Image
import glob
import scipy


def set_seed(seed):
Expand Down Expand Up @@ -243,4 +242,4 @@ def np_free_form_mask(maxVertex, maxLength, maxBrushWidth, maxAngle, h, w):
cv2.circle(mask, (startY, startX), brushWidth // 2, 2)
startY, startX = nextY, nextX
cv2.circle(mask, (startY, startX), brushWidth // 2, 2)
return mask
return mask
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
numpy ~= 1.14.3
scipy ~= 1.0.1
future ~= 0.16.0
matplotlib ~= 2.2.2
pillow >= 6.2.0
opencv-python ~= 3.4.0
scikit-image ~= 0.14.0
pyaml
pyaml