Spaces:
Sleeping
Sleeping
Commit
·
4e5dd03
1
Parent(s):
e4ab190
quitados downloads por problemas de permisos
Browse files- r_shiny_app/server.R +8 -9
r_shiny_app/server.R
CHANGED
@@ -402,13 +402,12 @@ shinyServer(function(input, output, session) {
|
|
402 |
path = file.path(DEFAULT_PATH_WANDB_ARTIFACTS, encoder_artifact$metadata$ref$hash)
|
403 |
print(paste0("Reactive enc | Load object ", path ))
|
404 |
flush.console()
|
405 |
-
enc_dir= encoder_artifact$download(
|
406 |
-
)
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
)
|
411 |
-
print(paste0("Reactive enc | Load object | enc dir ", enc_dir ))
|
412 |
print(paste0("eventReactive enc | load encoder | Enc. Artifact: ", input$encoder))
|
413 |
enc <- py_load_object(
|
414 |
file.path(
|
@@ -579,8 +578,8 @@ shinyServer(function(input, output, session) {
|
|
579 |
path = file.path(DEFAULT_PATH_WANDB_ARTIFACTS, ts_ar$metadata$TS$hash)
|
580 |
print(paste0("Reactive tsdf | Read feather ", path ))
|
581 |
flush.console()
|
582 |
-
artifact_dir = ts_ar$download(root=DEFAULT_PATH_WANDB_ARTIFACTS)
|
583 |
-
print(paste0("Reactive tsdf | Read feather | Downloaded: ", artifact_dir))
|
584 |
|
585 |
df <- read_feather(path, as_data_frame = TRUE, mmap = TRUE) %>% rename('timeindex' = `__index_level_0__`)
|
586 |
t_end = Sys.time()
|
|
|
402 |
path = file.path(DEFAULT_PATH_WANDB_ARTIFACTS, encoder_artifact$metadata$ref$hash)
|
403 |
print(paste0("Reactive enc | Load object ", path ))
|
404 |
flush.console()
|
405 |
+
#enc_dir= encoder_artifact$download()
|
406 |
+
#print(paste0("Reactive enc | Load object | enc dir | Test sin root ", enc_dir ))
|
407 |
+
#enc_dir = encoder_artifact$download(
|
408 |
+
# root=DEFAULT_PATH_WANDB_ARTIFACTS
|
409 |
+
#)
|
410 |
+
#print(paste0("Reactive enc | Load object | enc dir ", enc_dir ))
|
|
|
411 |
print(paste0("eventReactive enc | load encoder | Enc. Artifact: ", input$encoder))
|
412 |
enc <- py_load_object(
|
413 |
file.path(
|
|
|
578 |
path = file.path(DEFAULT_PATH_WANDB_ARTIFACTS, ts_ar$metadata$TS$hash)
|
579 |
print(paste0("Reactive tsdf | Read feather ", path ))
|
580 |
flush.console()
|
581 |
+
#artifact_dir = ts_ar$download(root=DEFAULT_PATH_WANDB_ARTIFACTS)
|
582 |
+
#print(paste0("Reactive tsdf | Read feather | Downloaded: ", artifact_dir))
|
583 |
|
584 |
df <- read_feather(path, as_data_frame = TRUE, mmap = TRUE) %>% rename('timeindex' = `__index_level_0__`)
|
585 |
t_end = Sys.time()
|