You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
I'm getting a weird error when I try to run umap() with my data: Error: index size 79464 is not a multiple of vector size 16
After playing around trying to figure out why (iris data was working), I discovered that it has something to do with the number of columns that your input data for umap() is.
As an example, when you eliminate one of the numeric columns of the iris dataset (from 4 to 3), I also get a similar error.
iris_train <- data.table(iris[1:100, 1:3])
iris_test <- data.table(iris[101:150, 1:3])
iris_train_umap <- umap(iris_train, n_components = 3, ret_model = T)
save_uwot(iris_train_umap, "~/iris.uwot")
Warning messages:
1: invalid uid value replaced by that for user 'nobody'
2: invalid gid value replaced by that for user 'nobody'
iris_umap = load_uwot("~/iris.uwot")
Error: index size 77420 is not a multiple of vector size 16
iris_test_umap <- umap_transform(iris_test, iris_umap)
Rstudio crashes.
Any help would be appreciated!
The text was updated successfully, but these errors were encountered:
Sorry, just to add on to this, if I don't need to save the uwot object, umap_transform() doesn't give error. So there's something about saving the object and trying to re-load it that messes this up.
Hi there,
I'm getting a weird error when I try to run umap() with my data:
Error: index size 79464 is not a multiple of vector size 16
After playing around trying to figure out why (iris data was working), I discovered that it has something to do with the number of columns that your input data for umap() is.
As an example, when you eliminate one of the numeric columns of the iris dataset (from 4 to 3), I also get a similar error.
Rstudio crashes.
Any help would be appreciated!
The text was updated successfully, but these errors were encountered: