Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Aixile committed Nov 25, 2017
1 parent 2eacfc2 commit aa02902
Show file tree
Hide file tree
Showing 39 changed files with 47 additions and 103 deletions.
20 changes: 6 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,15 @@

This comment has been minimized.

Copy link
@Lynngame

Lynngame Jul 2, 2019

great

This repo contains the front-end part of [make.girls.moe](http://make.girls.moe/).

We decide to open-source model training scripts after the release of Chainer 3.0. Since Chainer do not support gradient norm function currently, we use some tricks in the training.
Also, my personal repo [Chainer-GANs](https://github.com/Aixile/chainer-gan-experiments) contains some necessary references for reproducing our results.

## Running on local machine
*You need `git-lfs` to clone this repo.*

1. Modify `src/Config.js` and set `var debug=true;`
2. `npm install`
3. `npm start`

## License
Source codes of the website are under the GPL v3.0 license.

[Pre-trained model files](https://github.com/makegirlsmoe/makegirls.moe_web/tree/master/public/models) are owned by Yanghua Jin.
(Copyright 2017 Yanghua Jin All Rights Reserved.)

## Mirroring this site
If you want to build a mirror of this site or make some modifications, we requrie you to follow

1. Add a statement to clarify that your mirror site is not related to make.girls.moe official.
2. Distribute model files on your own server, this could be done by modifying [Config.js](https://github.com/makegirlsmoe/makegirls.moe_web/blob/master/src/Config.js).
3. Source codes should be available online because of the GPL license.
MakeGirlsMoe is freely available only for non-commercial use. Please, see the [license](https://github.com/makegirlsmoe/makegirlsmoe_web/blob/master/LICENSE.txt">) for further details.
For commercial queries, contact [Yanghua Jin](mailto:[email protected]).
The code of web interface is under the GPL v3.0 license and can be redistributed.
All the compiled model files are privately owned by Yanghua Jin and are not allowed for unauthorized commercial use.
4 changes: 2 additions & 2 deletions public/models/Bouvardia256_8bit/graph_webassembly.json
Git LFS file not shown
4 changes: 2 additions & 2 deletions public/models/Bouvardia256_8bit/graph_webgl_16384.json
Git LFS file not shown
4 changes: 2 additions & 2 deletions public/models/Bouvardia256_8bit/graph_webgl_4096.json
Git LFS file not shown
4 changes: 2 additions & 2 deletions public/models/Bouvardia256_8bit/graph_webgl_8192.json
Git LFS file not shown
4 changes: 2 additions & 2 deletions public/models/Bouvardia256_8bit/graph_webgpu.json
Git LFS file not shown
4 changes: 2 additions & 2 deletions public/models/Bouvardia256_8bit/kernels_asmjs.js
Git LFS file not shown
4 changes: 2 additions & 2 deletions public/models/Bouvardia256_8bit/kernels_asmjs.js.mem
Git LFS file not shown
4 changes: 2 additions & 2 deletions public/models/Bouvardia256_8bit/kernels_webassembly.cpp
Git LFS file not shown
4 changes: 2 additions & 2 deletions public/models/Bouvardia256_8bit/kernels_webassembly.js
Git LFS file not shown
4 changes: 2 additions & 2 deletions public/models/Bouvardia256_8bit/kernels_webassembly.wasm
Git LFS file not shown
4 changes: 2 additions & 2 deletions public/models/Bouvardia256_8bit/kernels_webgpu.metal
Git LFS file not shown
4 changes: 2 additions & 2 deletions public/models/Bouvardia256_8bit/weight_webassembly.bin
Git LFS file not shown
4 changes: 2 additions & 2 deletions public/models/Bouvardia256_8bit/weight_webgl_16384.bin
Git LFS file not shown
4 changes: 2 additions & 2 deletions public/models/Bouvardia256_8bit/weight_webgl_4096.bin
Git LFS file not shown
4 changes: 2 additions & 2 deletions public/models/Bouvardia256_8bit/weight_webgl_8192.bin
Git LFS file not shown
4 changes: 2 additions & 2 deletions public/models/Bouvardia256_8bit/weight_webgpu.bin
Git LFS file not shown
3 changes: 0 additions & 3 deletions public/models/test_8bit/graph_webassembly.json

This file was deleted.

3 changes: 0 additions & 3 deletions public/models/test_8bit/graph_webgl_16384.json

This file was deleted.

3 changes: 0 additions & 3 deletions public/models/test_8bit/graph_webgl_4096.json

This file was deleted.

3 changes: 0 additions & 3 deletions public/models/test_8bit/graph_webgl_8192.json

This file was deleted.

3 changes: 0 additions & 3 deletions public/models/test_8bit/graph_webgpu.json

This file was deleted.

3 changes: 0 additions & 3 deletions public/models/test_8bit/kernels_asmjs.js

This file was deleted.

3 changes: 0 additions & 3 deletions public/models/test_8bit/kernels_asmjs.js.mem

This file was deleted.

3 changes: 0 additions & 3 deletions public/models/test_8bit/kernels_webassembly.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions public/models/test_8bit/kernels_webassembly.js

This file was deleted.

3 changes: 0 additions & 3 deletions public/models/test_8bit/kernels_webassembly.wasm

This file was deleted.

3 changes: 0 additions & 3 deletions public/models/test_8bit/kernels_webgpu.metal

This file was deleted.

3 changes: 0 additions & 3 deletions public/models/test_8bit/weight_webassembly.bin

This file was deleted.

3 changes: 0 additions & 3 deletions public/models/test_8bit/weight_webgl_16384.bin

This file was deleted.

3 changes: 0 additions & 3 deletions public/models/test_8bit/weight_webgl_4096.bin

This file was deleted.

3 changes: 0 additions & 3 deletions public/models/test_8bit/weight_webgl_8192.bin

This file was deleted.

3 changes: 0 additions & 3 deletions public/models/test_8bit/weight_webgpu.bin

This file was deleted.

6 changes: 3 additions & 3 deletions src/Config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var debug = false;
var debug = true;
var backendUrlPrefix = (debug ? 'http://localhost:6253' : '');
var frontendUrlPrefix = (debug ? 'http://localhost:3000' : '');
var hostServer = 'maketest.girls.moe';
Expand Down Expand Up @@ -251,8 +251,8 @@ var Config = {
{
key: 'year',
type: 'continuous',
min: -1.5,
max: 1.5,
min: -1,
max: 1,
step: 0.1,
offset: 35,
prob: 0.8
Expand Down
4 changes: 2 additions & 2 deletions src/components/generator/OptionsExpert.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ class OptionsExpert extends OptionsClass {
{this.renderLabel(key, title)}
<RandomButtons
value={input.random ? 1 : 0}
onChange={(value) => this.props.onModelOptionChange(key, value === 1)}/>
<SliderWithInput min={min} max={max} step={step} value={input.value} onChange={value => this.props.dispatch(generatorAction.modelOptionChange(key, false, value))}/>
onChange={(value) => this.props.dispatch(generatorAction.modelOptionChange(key, value === 1))}/>
<SliderWithInput value={input.value} onChange={value => this.props.dispatch(generatorAction.modelOptionChange(key, false, value))}/>
</div>
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/locale/en_US.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const en_US = {
Here: "here",
Amaryllis:"Amaryllis 128x128 Ver.170716 (3.8MB)",
Bouvardia128: "Bouvardia 128x128 Ver.171123 (9.8MB)",
Bouvardia256: "Bouvardia 256x256 Ver.171123 (9.9MB)",
Bouvardia256: "Bouvardia 256x256 Ver.171125 (9.9MB)",

HairColor:"Hair Color",
HairStyle:"Hair Style",
Expand Down
2 changes: 1 addition & 1 deletion src/locale/ja_JP.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const ja_JP = {
Here: "こちら",
Amaryllis:"Amaryllis 128x128 Ver.170716 (3.8MB)",
Bouvardia128: "Bouvardia 128x128 Ver.171123 (9.8MB)",
Bouvardia256: "Bouvardia 256x256 Ver.171123 (9.9MB)",
Bouvardia256: "Bouvardia 256x256 Ver.171125 (9.9MB)",


HairColor:"髪の色",
Expand Down
2 changes: 1 addition & 1 deletion src/locale/ru_RU.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const ru_RU = {
Here: "here",
Amaryllis:"Amaryllis 128x128 Ver.170716 (3.8MB)",
Bouvardia128: "Bouvardia 128x128 Ver.171123 (9.8MB)",
Bouvardia256: "Bouvardia 256x256 Ver.171123 (9.9MB)",
Bouvardia256: "Bouvardia 256x256 Ver.171125 (9.9MB)",


HairColor:"Цвет волос",
Expand Down
2 changes: 1 addition & 1 deletion src/locale/zh_CN.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const zh_CN = {
Here: "点击这里",
Amaryllis:"Amaryllis 128x128 Ver.170716 (3.8MB)",
Bouvardia128: "Bouvardia 128x128 Ver.171123 (9.8MB)",
Bouvardia256: "Bouvardia 256x256 Ver.171123 (9.9MB)",
Bouvardia256: "Bouvardia 256x256 Ver.171125 (9.9MB)",

HairColor:"发色",
HairStyle:"发型",
Expand Down

0 comments on commit aa02902

Please sign in to comment.