Learn R Programming

neptune (version 0.1.2)

log_image: Log image to 'Neptune' experiment

Description

It logs image to a given image channel of 'Neptune' Experiment. 'Neptune' is a lightweight experiment tracking tool, for more information see <https://neptune.ai/>.

Usage

log_image(name = 'image_channel', filename)

Arguments

name

string, a name of the image channel in Neptune 'image_channel' by default

filename

string, filename of the image that you want to log to Neptune

See Also

Useful links:

Examples

Run this code
# NOT RUN {
# We are using api token for an anonymous user neptuner. For your projects use your private token.
init_neptune(api_token = 'ANONYMOUS',
             project_name = 'shared/r-integration')

# Start logging
create_experiment(name = 'my first experiment')

f <- tempfile()
png(filename = f, width = 480, height = 480)
plot(1:10, type = 'l')
dev.off()

log_image(name = 'performance charts', filename = f)

# Stop logging
stop_experiment()
# See an example experiment here https://ui.neptune.ai/o/shared/org/r-integration/e/RIN-56/logs
# }

Run the code above in your browser using DataLab