aleju / face-generator Goto Github PK
View Code? Open in Web Editor NEWGenerate human faces with neural networks
License: MIT License
Generate human faces with neural networks
License: MIT License
Hi there!
Is in the roadmap any integration with the python faker library? :-D
I'm getting a strange error. Do I have a wrong package version of something?
$ th train.lua
...
<dataset> Loaded 264660 filepaths
<dataset> loaded 1000 random examples
POST /events
POST /events
POST /events
POST /events
<trainer> Epoch #1 [batchSize = 32]
/root/torch/install/bin/luajit: /root/torch/install/share/lua/5.1/nn/THNN.lua:110: bad argument #3 to 'v' (cannot convert 'struct THDoubleTensor *' to 'struct THFloatTensor *')
stack traceback:
[C]: in function 'v'
/root/torch/install/share/lua/5.1/nn/THNN.lua:110: in function 'BCECriterion_updateOutput'
/root/torch/install/share/lua/5.1/nn/BCECriterion.lua:33: in function 'forward'
./adversarial.lua:96: in function 'opfunc'
./interruptable_optimizers.lua:60: in function 'interruptableAdam'
./adversarial.lua:264: in function 'train'
train.lua:207: in function 'main'
train.lua:212: in main chunk
[C]: in function 'dofile'
/root/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00405d50
Hi,
I have written a gan implementation but find that it starts generating random faces after a lot of iterations after giving good results until starting 5 -6 epochs.
Did you find your loss to increase in higher iterations or it just got better?
I'm getting following error.
python generate_dataset.py --path="/Users/myusername/Facegenerator/openface/data/dcgan-completion.tensorflow/data/lfw"
[Warning] directory '/Users/myusername/Facegenerator/openface/data/dcgan-completion.tensorflow/data/lfw' contained 1 files with extension differing from 'jpg'
Found 13233 images total.
Image 0...
Traceback (most recent call last):
File "generate_dataset.py", line 195, in <module>
main()
File "generate_dataset.py", line 48, in main
brightness_change=0.1, noise_mean=0.0, noise_std=0.00)
File "generate_dataset.py", line 130, in augment
arr = tf.warp(img, matrix, mode="nearest") # projects to float 0-1
File "/usr/local/lib/python2.7/site-packages/skimage/transform/_warps.py", line 775, in warp
order=order, mode=mode, cval=cval))
File "skimage/transform/_warps_cy.pyx", line 94, in skimage.transform._warps_cy._warp_fast (skimage/transform/_warps_cy.c:2557)
ValueError: Invalid mode specified. Please use `constant`, `edge`, `wrap`, `reflect` or `symmetric`.
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.