blade6570 / photographicimagesynthesiswithcascadedrefinementnetworks-pytorch Goto Github PK
View Code? Open in Web Editor NEWPhotographic Image Synthesis with Cascaded Refinement Networks - Pytorch Implementation
Photographic Image Synthesis with Cascaded Refinement Networks - Pytorch Implementation
Hello, I am trying to reproduce your work with the readme instruction. I found I currently do not have access to you pretrained models in google drive, could you release it?
It seems inconsistent with the official implementation.
downsampled=tf.image.resize_area(label,(sp//2,sp),align_corners=False)
Hi there,
I'm just wondering if it is possible to get some information on what hardware you used to train the model, as well as how long you took? I am currently writing my own version of the CRN, however I am encountering extremely long training times and massive memory requirements, and so I thought is worthwhile to find out more about other implementations and their requirments.
Kind regards
recursive_generator
similar with the official code?LayerNorm
is in here http://pytorch.org/docs/master/nn.html#layernorm.(Seems in this week v0.4 will be released)def recursive_img(label,res): #Resulution may refers to the final image output i.e. 256x512 or 512x1024
dim=512 if res>=128 else 1024
# #M_low will start from 4x8 to resx2*res
if res == 4:
downsampled = label #torch.unsqueeze(torch.from_numpy(label).float().permute(2,0,1), dim=0)
else:
max1=nn.AvgPool2d(kernel_size=2, padding=0, stride=2)
downsampled=max1(label)
img = recursive_img(downsampled, res//2)
global D
global count
global D_m
D.insert(count, downsampled)
D_m.insert(count, dim)
count+=1
return downsampled
Why not directly assign each D_i and D_m_i with specific values.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.