Comments (5)
@cfrancesco I have tried to use git lfs pull
but it throws an errror,
batch response: This repository is over its data quota. Purchase more data packs to restore access. error: failed to fetch some objects from 'https://github.com/idealo/image-super-resolution.git/info/lfs'
from image-super-resolution.
Duplicate of #21
If you did use git lfs pull
, please comment there.
from image-super-resolution.
@cfrancesco Sorry but i get the same error by trying to download weights with git lfs pull command. And i can't use the newest way to load weights (RRDN(weights='gans')) since i want to perform image resolution on a whole directory.
How can i solve?
from image-super-resolution.
I see. You're trying to use the predictor class. It is not maintained, it will probably be removed.
If this is your issue, then it's easy to script: model that way and then iterate through a given directory, something like
from ISR.models import RRDN
from pathlib import Path
import imageio
rrdn = RRDN(weights='gans')
dir_path = Path('/your/img/dir/path')
out_dir_path = Path('output/dir/')
for image in dir_path.iterdir():
if image.endswith('.png'): # or whatever format you have
image = imageio.imread( dir_path/ image )
sr_img = rrdn.predict(np.array(image))
out_image_path = out_dir_path / image
imageio.imwrite(out_image_path, sr_img)
from image-super-resolution.
Yeps, but the amount of images is quite huge and it chashes if i use a for cycle ( also in colab) anyway thank you for your support :)
from image-super-resolution.
Related Issues (20)
- Loading Models | AttributeError: 'str' object has no attribute 'decode' HOT 2
- GPU acceleration on Colab Notebooks HOT 1
- super resolution for 3d data clouds
- ValueError: Input 0 of layer "generator" is incompatible with the layer HOT 1
- ISR Dependency functools32 Fails Install using Poetry HOT 2
- colab
- conflicting dependencies HOT 5
- predict image conatins many abnormal pixel block
- Download model weights connection timed out HOT 1
- none
- Can't install on colab HOT 2
- Export to tflite model
- pip installation fails on modern images (Colab, Kaggle) HOT 3
- Increasing value of step_per_epoch give unexpected outputs
- macOS install error HOT 1
- Training on greyscale dataset HOT 1
- Optimizer problem HOT 1
- Upload to TFLITE
- Converted to TFLITE.
- How to return history of validation generator loss in ISR
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 image-super-resolution.