Comments (3)
@ilkarman, if patch-size=64 in the config file, hr_maps
should be of size (192, 192)
. The hr_maps
are cropped in DataLoader.py
(see line 135 in read_imageset
).
So the get_crop_mask()
function should normally be fine.
If that modification runs, it means you have super resolved images of size (384, 384)
in line 174 (srs) and 180 (shifted_srs
) in train.py
. Therefore your low-res images (lrs) are of size (128,128)
?
In order words, you are specifying a patch_size
but you are not creating patches.
I found the error! It's in config/config.json
.
You need to specify create_patches = true
.
Will resolve this issue.
Thank you!
from highres-net.
Thanks a lot, runs perfect now!
from highres-net.
Awesome!
from highres-net.
Related Issues (10)
- RuntimeError: CUDA out of memory HOT 7
- Shared representation in fusion block
- Expected 2D (unbatched) or 3D (batched) input to conv1d, but got input of size: [1, 4, 202, 202] HOT 6
- Calculation of val_score
- Lanczos code crashes HOT 3
- Pretrain-model HOT 1
- training problem because of the different sizes HOT 8
- ShiftNet loss HOT 1
- predic HOT 5
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 highres-net.