Comments (2)
Thank you for your feedback!
I have added a way to download pretrained IC9600 in Readme(for the newest push).
For the scripts/prepare_datasets.sh, I have also modified the scripts and pushed them to the newest commit.
This new script should be capable of automatically handling cropping and hand-drawn line enhancement. Thanks!
from apisr.
Additionally, $output_dir_720p_crop
is missing in scripts/prepare_datasets.sh
#!/bin/bash
# Set up the path (tmp_usm_dir will be removed; the rest will be kept)
full_patch_source=../APISR_dataset
tmp_usm_dir=GEASR_sharpen
degrade_hr_dataset_name=datasets/train_hr
train_hr_dataset_name=datasets/train_hr_enhanced
# Resize images and prepare usm sharpening in Anime
python scripts/anime_strong_usm.py -i $full_patch_source -o $tmp_usm_dir --outlier_threshold 32
# Crop images to the target HR and degradate_HR dataset
python scripts/crop_images.py -i $output_dir_720p_crop --crop_size 256 -o $degrade_hr_dataset_name
python scripts/crop_usm_only.py -i $tmp_usm_dir -o $train_hr_dataset_name --size 256
# Clean unnecessary file
rm -rf $tmp_usm_dir
from apisr.
Related Issues (12)
- The result is cool HOT 1
- 有没有通用的,风景,真人,二次元?
- RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU. HOT 2
- AssertionError HOT 17
- API Dataset release HOT 3
- I made windows version
- Batch mode has VRAM leakage issues
- Leave your comment on what kinds of upscler and model architecture you want. HOT 3
- something went wrong HOT 2
- 4x quality not good HOT 1
- Good perfermance!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apisr.