hmi88 / began-tensorflow Goto Github PK
View Code? Open in Web Editor NEWpython3 / Implementation of Google Brain's BEGAN in Tensorflow
python3 / Implementation of Google Brain's BEGAN in Tensorflow
On 55-th line in op_base.py,
data = sorted(glob(os.path.join(data_path, "*.*")))
I get the following error,
Traceback (most recent call last):
File "/home/jay/pycharm-2017.1.1/helpers/pydev/_pydevd_bundle/pydevd_exec.py", line 3, in Exec
exec exp in global_vars, local_vars
File "<string>", line 1, in <module>
TypeError: 'module' object is not callable
I followed your instructions correctly.
Is it because I'm using Ubuntu or Pycharm?
I think you might accidentally give the wrong link to the dropbox when you gave away the link used to visualise the training progress with tensorboard.
File "main.py", line 56, in
main()
File "main.py", line 51, in main
model.train(args.flag)
UnboundLocalError: local variable 'model' referenced before assignment
Thanks for sharing! How to use pre-trained model to generate face images? I've downloaded from dropbox, then?
Hello, When I run this code with:
python3 main.py -f 1 -p "began" -trd "celeba" -tro "crop" -trs 64 -z 128 -em 128 -fn 64 -b 16 -lr 1e-4 -gm 0.4 -g "0"
or any other configurations, it works till shuffle done and it stops!
any suggestion? did anyone else got same error?
Hi! I'm very interested in your project, I'm currently working on an open source project that should be able to interpolate the face (with expression) in video frames of person a into something that looks more like person b.
What I have so far:
Dataset Generation
Translation Utility
What I want to use your project for:
Image Translation
personA->personB conversion (or at least a high similarity, like in the male->female projects) of regions of interest in individual videoframes
What I don't understand
How to use your project for this purpose ;) Can you point me in a direction, so that I can set up your project for this specific application?
firstly , thanks for your code ! as a tf beginner, i learned a lot from you code, but in this code ,i can't load your model file which named 'began_gm0.4.model-429439.data-00000-of-00001', it is not a ckpt file , how can i load it ,please help me ,thanks for your time
Line 158 in op_BEGAN is:
nowDatetime = now.strftime('%Y-%m-%d_%H:%M:%S')
Change it to:
nowDatetime = now.strftime('%Y-%m-%d_%H_%M_%S')
Line 38 in op_base.py is:
self.project_dir = 'assets/{0}_{1}_{2}_{3}/'.format(self.project, self.dataset, self.data_opt, self.data_size)
Change it to:
self.project_dir = 'assets/{0}_{1}_{2}_{3}'.format(self.project, self.dataset, self.data_opt, self.data_size)
why the iter num is different when the training stoped?sometimes,7,or 11and so on.
Hey! Thank you for uploading your implementation and opening a discussion on Github. Unfortunately, the code won't run without the src folder ;)
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.