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

image not appearing #14

Open
ctrl-cheeb-del opened this issue Aug 24, 2021 · 2 comments
Open

image not appearing #14

ctrl-cheeb-del opened this issue Aug 24, 2021 · 2 comments

Comments

@ctrl-cheeb-del
Copy link

image

once the main function is called the error displayed about a coordinate system is shown then proceeds to corrupt the CSV file and leave nothing in the img directory

@data2700
Copy link

data2700 commented Sep 2, 2021

I have received that message about a coordinate system already present too, but I always got the correct number of images if I just waited awhile. Are you able to get the example code working without a problem?

@thorge
Copy link

thorge commented Jan 29, 2023

It might be that you are using the example code on Windows? I noticed that you need correct Windows path formatting as well as absolute paths when setting up the directory structure:

library(generativeart)

# set the paths
IMG_DIR <- "C:\\YourProjectPath\\img\\"
IMG_SUBDIR <- "everything\\"
IMG_SUBDIR2 <- "handpicked\\"
IMG_PATH <- paste0(IMG_DIR, IMG_SUBDIR)

LOGFILE_DIR <- "C:\\YourProjectPath\\logfile\\"
LOGFILE <- "logfile.csv"
LOGFILE_PATH <- paste0(LOGFILE_DIR, LOGFILE)

# create the directory structure
generativeart::setup_directories(IMG_DIR, IMG_SUBDIR, IMG_SUBDIR2, LOGFILE_DIR)

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

3 participants