Skip to content

Commit 9059c69

Browse files
Fixed typo in README. Argument num_cores missing from fit_model example.
1 parent f78d0ea commit 9059c69

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.Rmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ model <- fit_model(template_dir = "path/to/main_dir",
141141
model_images_dir = "path/to/main_dir/data/model_docs",
142142
num_iters = 4000,
143143
num_chains = 1,
144+
num_cores = 2,
144145
writer_indices = c(7, 10),
145146
doc_indices = c(11, 14))
146147
```

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Use `processDocument()` to
5656
library(handwriter)
5757
phrase <- system.file("extdata", "phrase_example.png", package = "handwriter")
5858
doc <- processDocument(phrase)
59-
#> path in readPNGBinary: /private/var/folders/1z/jk9bqhdd06j1fxx0_xm2jj980000gn/T/RtmpsWgyNd/temp_libpathfabce223e01/handwriter/extdata/phrase_example.png
59+
#> path in readPNGBinary: /private/var/folders/1z/jk9bqhdd06j1fxx0_xm2jj980000gn/T/RtmpvsOkkC/temp_libpathe642aa87b6b/handwriter/extdata/phrase_example.png
6060
#> Starting Processing...
6161
#> Getting Nodes...and merging them...
6262
#> Finding direct paths...and loops...
@@ -237,6 +237,7 @@ model <- fit_model(template_dir = "path/to/main_dir",
237237
model_images_dir = "path/to/main_dir/data/model_docs",
238238
num_iters = 4000,
239239
num_chains = 1,
240+
num_cores = 2,
240241
writer_indices = c(7, 10),
241242
doc_indices = c(11, 14))
242243
```

0 commit comments

Comments
 (0)