Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plot_deepviz() not working - throws layout_fun error #16

Open
neural-oracle opened this issue Dec 1, 2019 · 3 comments
Open

plot_deepviz() not working - throws layout_fun error #16

neural-oracle opened this issue Dec 1, 2019 · 3 comments

Comments

@neural-oracle
Copy link

Hi.
using c(4, 1) %>%

  • plot_deepviz()
    as described in help-section on deepviz-github main page ... throws following error:
    error in layout_fun(graph, circular = circular, ...) :
    unused argument (node.position = layout_keras(., n))

plot_model() function worked fine ... but not plot_deepviz()

@shixiangbupt
Copy link

Show in New WindowClear OutputExpand/Collapse Output

Show in New WindowClear OutputExpand/Collapse Output
Error in layout_fun(graph, circular = circular, ...) : 参数没有用(node.position = layout_keras(., n))
15.
layout_to_table.character(layout, graph, circular = circular, ...)
14.
layout_to_table(layout, graph, circular = circular, ...)
13.
create_layout.tbl_graph(graph, layout, ...)
12.
create_layout(graph, layout, ...)
11.
ggplot(data = create_layout(graph, layout, ...), environment = envir)
10.
ggraph(., layout = "manual", node.position = layout_keras(., n))
9.
function_list[k]
8.
withVisible(function_list[k])
7.
freduce(value, _function_list)
6.
_fseq(_lhs)
5.
eval(quote(_fseq(_lhs)), env, env)
4.
eval(quote(_fseq(_lhs)), env, env)
3.
withVisible(eval(quote(_fseq(_lhs)), env, env))
2.
tidygraph::tbl_graph(nodes = nodes, edges = edges) %>% ggraph(layout = "manual", node.position = layout_keras(., n))
1.
plot_deepviz(n1)

@DTegano
Copy link

DTegano commented Aug 1, 2020

I'm having the same issue as @neural-oracle.

Is there a work around yet?

@berthetclement
Copy link

Hi,
I like the concept but I have the same mistake then @neural-oracle .

_c(4, 1) %>%

  • plot_deepviz()
    Error in layout_fun(graph, circular = circular, ...) :
    argument inutilisé (node.positions = list(c(0.4, 0.8, 1.2, 1.6, 1), c(1, 1, 1, 1, 0)))_

My conf at this moment :

R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19041)

Matrix products: default

locale:
[1] LC_COLLATE=French_France.1252 LC_CTYPE=French_France.1252 LC_MONETARY=French_France.1252
[4] LC_NUMERIC=C LC_TIME=French_France.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] purrr_0.3.4 ggraph_2.0.3 ggplot2_3.3.2 magrittr_1.5 deepviz_0.0.1.9000 reticulate_1.16
[7] kerasR_0.6.1 spam_0.1.0 dplyr_1.0.1 tensorflow_2.2.0 keras_2.3.0.0

loaded via a namespace (and not attached):
[1] ggdendro_0.1.21 viridis_0.5.1 tidyr_1.1.1 viridisLite_0.3.0 tidygraph_1.2.0 jsonlite_1.7.0
[7] splines_4.0.2 foreach_1.5.0 assertthat_0.2.1 yaml_2.2.1 ggrepel_0.8.2 gdtools_0.2.2
[13] pillar_1.4.6 backports_1.1.7 lattice_0.20-41 glue_1.4.1 pROC_1.16.2 uuid_0.1-4
[19] digest_0.6.25 RColorBrewer_1.1-2 polyclip_1.10-0 colorspace_1.4-1 htmltools_0.5.0 Matrix_1.2-18
[25] plyr_1.8.6 pkgconfig_2.0.3 broom_0.7.0 DiagrammeR_1.0.6.1 scales_1.1.1 tweenr_1.0.1
[31] whisker_0.4 officer_0.3.12 ggforce_0.3.2 tibble_3.0.3 mgcv_1.8-31 generics_0.0.2
[37] farver_2.0.3 ellipsis_0.3.1 withr_2.2.0 cli_2.0.2 survival_3.1-12 crayon_1.3.4
[43] evaluate_0.14 fansi_0.4.1 nlme_3.1-148 MASS_7.3-51.6 xml2_1.3.2 rsconnect_0.8.16
[49] tools_4.0.2 data.table_1.13.0 lifecycle_0.2.0 stringr_1.4.0 flextable_0.5.10 munsell_0.5.0
[55] glmnet_4.0-2 zip_2.1.0 packrat_0.5.0 compiler_4.0.2 systemfonts_0.2.3 rlang_0.4.7
[61] grid_4.0.2 iterators_1.0.12 rstudioapi_0.11 rappdirs_0.3.1 htmlwidgets_1.5.1 visNetwork_2.0.9
[67] igraph_1.2.5 labeling_0.3 base64enc_0.1-3 rmarkdown_2.3 gtable_0.3.0 codetools_0.2-16
[73] graphlayouts_0.7.0 R6_2.4.1 gridExtra_2.3 tfruns_1.4 knitr_1.29 utf8_1.1.4
[79] zeallot_0.1.0 shape_1.4.4 stringi_1.4.6 Rcpp_1.0.5 vctrs_0.3.2 rpart_4.1-15

Thanks for help ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants