Skip to content

Commit e8845fa

Browse files
committed
fix, link to article
1 parent 9491e0d commit e8845fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This is essentially a compositional pattern-producing network (CPPN) except it m
1010
<img src="https://raw.githubusercontent.com/ex-punctis/abstract-art-cppn/master/architecture.png">
1111
(Architecture diagram generated by http://alexlenail.me/NN-SVG/index.html)
1212

13-
Detailed explanation and live demo in my blog.
13+
[Detailed explanation and live demo in my blog](https://www.expunctis.com/2020/01/19/Abstract-art.html)
1414

1515
## Requirements
1616

Diff for: abstract-art-cppn.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ class abstractANN {
209209
let a3 = this.activation3(z3).mul(this.magnitude3);
210210
let z4 = a3.matMul(this.w4);
211211
let a4 = this.activation4(z4);
212-
let output = a4.div(tf.scalar(2)).add(tf.scalar(0.5)).reshape([this.WIDTH, this.WIDTH, 3]);
212+
let output = a4.div(tf.scalar(2)).add(tf.scalar(0.5)).reshape([this.WIDTH, this.WIDTH, 3]).clipByValue(0.001, 0.999);
213213

214214
return (output);
215215
});

0 commit comments

Comments
 (0)