mehdidc commited on
Commit
00bbe3c
1 Parent(s): 383cba8

update README

Browse files
Files changed (2) hide show
  1. README.md +37 -1
  2. image.png +0 -0
README.md CHANGED
@@ -10,4 +10,40 @@ pinned: false
10
  license: mit
11
  ---
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  license: mit
11
  ---
12
 
13
+ - ConvAE model (from [`Digits that are not: Generating new types through deep neural nets`](https://arxiv.org/pdf/1606.04345.pdf))
14
+ - DeepConvAE model (from [here](https://tel.archives-ouvertes.fr/tel-01838272/file/75406_CHERTI_2018_diffusion.pdf), Section 10.1 with `L=3`)
15
+ - Dense K-Sparse model (from [`Out-of-class novelty generation`](https://openreview.net/forum?id=r1QXQkSYg))
16
+
17
+ These models were trained on MNIST only (digits), but were found to generate new kinds of symbols, see the references for more details.
18
+
19
+ ![](image.png)
20
+
21
+ # Install requirements
22
+
23
+ `pip install -r requirements.txt`
24
+
25
+ # Download models
26
+
27
+ ```bash
28
+ git lfs pull
29
+ ```
30
+
31
+ # Training
32
+
33
+ `python cli.py train --dataset=mnist --folder=convae --model=convae`
34
+
35
+ `python cli.py train --dataset=mnist --folder=deep_convae --model=deep_convae`
36
+
37
+ # Generate samples
38
+
39
+ ```bash
40
+ python cli.py test --model-path=convae.th --nb-generate=100 --folder=convae
41
+ ```
42
+
43
+ ```bash
44
+ python cli.py test --model-path=deep_convae.th --nb-generate=100 --folder=deep_convae
45
+ ```
46
+
47
+ ```bash
48
+ python cli.py test --model-path=fc_sparse.th --nb-generate=100 --folder=deep_convae
49
+ ```
image.png ADDED