Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lanpa/tensorboardX
/ functions
Functions
365 in github.com/lanpa/tensorboardX
⨍
Functions
365
◇
Types & classes
53
↓ 61 callers
Method
add_scalar
Add scalar data to summary. Args: tag: Data identifier scalar_value: Value to be logged in tensorboard gl
tensorboardX/writer.py:445
↓ 29 callers
Method
write
(self, data)
tensorboardX/record_writer.py:184
↓ 26 callers
Function
make_np
(x)
tensorboardX/x2num.py:17
↓ 24 callers
Method
_get_file_writer
Returns the default FileWriter instance. Recreates it if closed.
tensorboardX/writer.py:370
↓ 20 callers
Function
compare_proto
(str_to_compare, function_ptr)
tests/expect_reader.py:14
↓ 19 callers
Method
add_graph
Adds a `Graph` and step stats protocol buffer to the event file. Args: graph_profile: A `Graph` and step stats protocol buffer.
tensorboardX/writer.py:169
↓ 18 callers
Method
_get_comet_logger
Returns a comet logger instance. Recreates it if closed.
tensorboardX/writer.py:391
↓ 18 callers
Method
add_embedding
r"""Add embedding projector data to summary. Args: mat: A matrix which each row is the feature vector of the data point
tensorboardX/writer.py:966
↓ 18 callers
Method
add_summary
Adds a `Summary` protocol buffer to the event file. This method wraps the provided summary in an `Event` protocol buffer and adds it t
tensorboardX/writer.py:154
↓ 17 callers
Method
close
Flushes the event file to disk and close the file. Call this method when you do not need the summary writer anymore.
tensorboardX/writer.py:216
↓ 16 callers
Function
tensor_N
(shape, dtype=float)
tests/test_summary.py:14
↓ 10 callers
Method
add_text
Add text data to summary. Args: tag: Data identifier text_string: String to save global_step: Global step
tensorboardX/writer.py:893
↓ 9 callers
Method
__init__
(self, input_size, hidden_size, output_size)
examples/demo_graph.py:209
↓ 9 callers
Method
close
Close the current SummaryWriter. This call flushes the unfinished write operation. Use context manager (with statement) whenever it's possible
tensorboardX/writer.py:1244
↓ 8 callers
Method
add_event
Adds an event to the event file. Args: event: An `Event` protocol buffer. step: Number. Optional global step value for tra
tensorboardX/writer.py:131
↓ 8 callers
Function
add_noise
(h, sigma=0.2)
examples/chainer/extension_logger/net.py:13
↓ 8 callers
Function
check_nan
(array)
tensorboardX/x2num.py:10
↓ 7 callers
Method
add_image
Add image data to summary. Note that this requires the ``pillow`` package. Args: tag: Data identifier img_te
tensorboardX/writer.py:656
↓ 7 callers
Method
encode
(self, x)
examples/chainer/plain_logger/net.py:27
↓ 7 callers
Method
get_logdir
Returns the directory where event file will be written.
tensorboardX/writer.py:127
↓ 6 callers
Function
_clean_tag
(name)
tensorboardX/summary.py:24
↓ 6 callers
Method
open
(self, path)
tensorboardX/record_writer.py:105
↓ 5 callers
Method
add_figure
Render matplotlib figure into an image and add it to summary. Note that this requires the ``matplotlib`` package. Args:
tensorboardX/writer.py:817
↓ 5 callers
Method
add_histogram
Add histogram to summary. Args: tag: Data identifier values: Values to build histogram global_step: Globa
tensorboardX/writer.py:549
↓ 5 callers
Method
add_video
Add video data to summary. Note that this requires the ``moviepy`` package. Args: tag: Data identifier vid_t
tensorboardX/writer.py:840
↓ 5 callers
Function
convert_to_HWC
(tensor, input_format)
tensorboardX/utils.py:106
↓ 5 callers
Method
get_temp_dir
(self)
tests/event_file_writer_test.py:79
↓ 5 callers
Method
log_asset_data
Logs the data given (str, binary, or JSON). Args: data: data to be saved as asset name: String, optional. A custom file name
tensorboardX/comet_utils.py:228
↓ 5 callers
Function
save_images
(x, filename)
examples/chainer/plain_logger/train_vae.py:148
↓ 4 callers
Method
add_pr_curve
Adds precision recall curve. Plotting a precision-recall curve lets you understand your model's performance under different threshold
tensorboardX/writer.py:1049
↓ 4 callers
Method
add_pr_curve_raw
Adds precision recall curve with raw data. Args: tag: Data identifier global_step: Global step value to record
tensorboardX/writer.py:1096
↓ 4 callers
Method
add_scalars
Adds many scalar data to summary. Note that this function also keeps logged scalars in memory. In extreme case it explodes your RAM.
tensorboardX/writer.py:483
↓ 4 callers
Method
flush
Flushes the event file to disk. Call this method to make sure that all pending events have been written to disk.
tensorboardX/writer.py:209
↓ 4 callers
Method
log_image_encoded
Logs the image. Images are displayed on the Graphics tab on Comet.ml. Args: encoded_image_string: Required. An encoded image string
tensorboardX/comet_utils.py:193
↓ 4 callers
Function
maybe_upload_file
Upload a file to remote cloud storage if the path starts with gs:// or s3://
tensorboardX/embedding.py:9
↓ 4 callers
Function
removeWhiteChar
(string)
tests/expect_reader.py:10
↓ 3 callers
Method
add_audio
Add audio data to summary. Args: tag: Data identifier snd_tensor: Sound data global_step: Global step val
tensorboardX/writer.py:869
↓ 3 callers
Method
add_image_with_boxes
Add image and draw bounding boxes on the image. Args: tag: Data identifier img_tensor: Image data box_ten
tensorboardX/writer.py:777
↓ 3 callers
Method
add_onnx_graph
Adds a `Graph` protocol buffer to the event file. Args: graph: A `Graph` protocol buffer. walltime: float. Optional wallt
tensorboardX/writer.py:187
↓ 3 callers
Method
add_openvino_graph
Adds a `Graph` protocol buffer to the event file. Args: graph: A `Graph` protocol buffer. walltime: float. Optional wallt
tensorboardX/writer.py:198
↓ 3 callers
Method
close
Performs a final flush of the event file to disk, stops the write/flush worker and closes the file. Call this method when you do not n
tensorboardX/event_file_writer.py:147
↓ 3 callers
Method
close
(self)
tensorboardX/record_writer.py:197
↓ 3 callers
Function
custom_scalars
(layout)
tensorboardX/summary.py:469
↓ 3 callers
Method
decode
(self, z, sigmoid=True)
examples/chainer/plain_logger/net.py:33
↓ 3 callers
Method
export_scalars_to_json
Exports to the given path an ASCII file containing all the scalars written so far by this instance, with the following format: {writer
tensorboardX/writer.py:538
↓ 3 callers
Function
figure_to_image
Render matplotlib figure to numpy format. Note that this requires the ``matplotlib`` package. Args: figure (matplotlib.pyplot.figure
tensorboardX/utils.py:2
↓ 3 callers
Method
flush
Flushes the event file to disk.
tensorboardX/event_file_writer.py:62
↓ 3 callers
Method
get_temp_dir
(self)
tests/record_writer_test.py:29
↓ 3 callers
Method
get_temp_dir
(self)
tests/event_file_writer_test.py:37
↓ 3 callers
Function
parse
(graph)
tensorboardX/onnx_graph.py:15
↓ 3 callers
Function
u32
(x)
tensorboardX/record_writer.py:206
↓ 3 callers
Method
use_metadata
Context manager to temporarily set default metadata for all enclosed :meth:`add_event` calls. Args: global_step: Global s
tensorboardX/writer.py:231
↓ 2 callers
Method
_init_summary
(self)
examples/chainer/extension_logger/writetensorboard.py:128
↓ 2 callers
Function
_prepare_video
(V)
tensorboardX/utils.py:44
↓ 2 callers
Method
_try_connect
(self)
tensorboardX/visdom_writer.py:39
↓ 2 callers
Method
add_histogram_raw
Adds histogram with raw data. Args: tag: Data identifier min (float or int): Min value max (float or int)
tensorboardX/writer.py:590
↓ 2 callers
Method
add_hparams
Add a set of hyperparameters to be compared in tensorboard. Args: hparam_dict: Each key-value pair in the dictionary is the
tensorboardX/writer.py:397
↓ 2 callers
Method
add_images
Add batched (4D) image data to summary. Besides passing 4D (NCHW) tensor, you can also pass a list of tensors of the same size. In thi
tensorboardX/writer.py:714
↓ 2 callers
Method
add_mesh
Add meshes or 3D point clouds to TensorBoard. The visualization is based on Three.js, so it allows users to interact with the rendered object.
tensorboardX/writer.py:1201
↓ 2 callers
Method
assert_grayscale
(self, image)
tests/test_summary.py:95
↓ 2 callers
Method
bucket_and_path
(self)
tensorboardX/record_writer.py:78
↓ 2 callers
Method
close
Call self.flush().
tensorboardX/event_file_writer.py:69
↓ 2 callers
Function
compute_curve
(labels, predictions, num_thresholds=None, weights=None)
tensorboardX/summary.py:541
↓ 2 callers
Function
conv3x3
3x3 convolution with padding
examples/demo_graph.py:75
↓ 2 callers
Function
draw_fusilli
(turns, radius, omega)
examples/demo_mesh.py:6
↓ 2 callers
Method
flush
(self)
tensorboardX/record_writer.py:90
↓ 2 callers
Method
forward_once
(self, x)
examples/demo_graph.py:174
↓ 2 callers
Method
getSummaryWriter
Get the writer from global namespace. Examples:: # main.py import global_1 import global_2
tensorboardX/global_writer.py:170
↓ 2 callers
Function
get_data
(value, shape)
examples/demo_embedding.py:36
↓ 2 callers
Method
get_loss_func
Get loss function of VAE. The loss value is equal to ELBO (Evidence Lower Bound) multiplied by -1. Args: C (int)
examples/chainer/plain_logger/net.py:41
↓ 2 callers
Function
image
Outputs a `Summary` protocol buffer with images. The summary has up to `max_images` summary values containing images. The images are built fro
tensorboardX/summary.py:267
↓ 2 callers
Function
load_mnist
(images, labels, num)
examples/chainer/plain_logger/data.py:18
↓ 2 callers
Method
log_asset
Logs the Asset determined by file_data. Args: file_data: String or File-like - either the file path of the file you want
tensorboardX/comet_utils.py:207
↓ 2 callers
Function
make_grid
(I, ncols=8)
tensorboardX/utils.py:70
↓ 2 callers
Method
make_hidden
(self, batchsize)
examples/chainer/extension_logger/net.py:42
↓ 2 callers
Function
make_image
Convert an numpy representation image to Image protobuf
tensorboardX/summary.py:329
↓ 2 callers
Function
make_optimizer
(model, alpha=0.0002, beta1=0.5)
examples/chainer/extension_logger/train_dcgan.py:60
↓ 2 callers
Function
masked_crc32c
(data)
tensorboardX/record_writer.py:201
↓ 2 callers
Method
register
(self, *args, **init_kwargs)
tensorboardX/torchvis.py:26
↓ 2 callers
Function
register_writer_factory
(prefix, factory)
tensorboardX/record_writer.py:37
↓ 2 callers
Function
render_to_rgb
(figure)
tensorboardX/utils.py:21
↓ 2 callers
Function
scalar
Outputs a `Summary` protocol buffer containing a single scalar value. The generated Summary has a Tensor.proto containing the input Tensor. Ar
tensorboardX/summary.py:144
↓ 2 callers
Method
write_event
Append "event" to the file.
tensorboardX/event_file_writer.py:48
↓ 1 callers
Method
__append_to_scalar_dict
This adds an entry to the self.scalar_dict datastructure with format {writer_id : [[timestamp, step, value], ...], ...}.
tensorboardX/writer.py:359
↓ 1 callers
Method
__init__
Events files have a name of the form '/some/file/path/events.out.tfevents.[timestamp].[hostname]'
tensorboardX/event_file_writer.py:32
↓ 1 callers
Method
__init__
(self, n_hidden, bottom_width=4, ch=512, wscale=0.02)
examples/chainer/extension_logger/net.py:23
↓ 1 callers
Function
_crc32c
Compute CRC-32C checksum of the data. Args: data: byte array, string or iterable over bytes. Returns: 32-bit CRC-32C checksum of
tensorboardX/crc32c.py:122
↓ 1 callers
Function
_draw_single_box
(image, xmin, ymin, xmax, ymax, display_str, color='black', color_text='black', thickness=2)
tensorboardX/summary.py:42
↓ 1 callers
Method
_encode
(rawstr)
tensorboardX/writer.py:958
↓ 1 callers
Function
_get_tensor_summary
(tag, tensor, content_type, json_config)
tensorboardX/summary.py:572
↓ 1 callers
Method
_iter_gif
(encoded_image)
tests/test_summary.py:84
↓ 1 callers
Method
_load_expected_test_video
()
tests/test_summary.py:91
↓ 1 callers
Method
_write_serialized_event
(self, event_str)
tensorboardX/event_file_writer.py:57
↓ 1 callers
Method
add_custom_scalars
Create special chart by collecting charts tags in 'scalars'. Note that this function can only be called once for each SummaryWriter() object.
tensorboardX/writer.py:1178
↓ 1 callers
Method
add_custom_scalars_marginchart
Shorthand for creating marginchart. Similar to ``add_custom_scalars()``, but the only necessary argument is *tags*, which should have exactly
tensorboardX/writer.py:1159
↓ 1 callers
Method
add_custom_scalars_multilinechart
Shorthand for creating multilinechart. Similar to ``add_custom_scalars()``, but the only necessary argument is *tags*. Args:
tensorboardX/writer.py:1141
↓ 1 callers
Method
add_event
Adds an event to the event file. Args: event: An `Event` protocol buffer.
tensorboardX/event_file_writer.py:129
↓ 1 callers
Method
add_image
Add image data to summary. Note that this requires the ``pillow`` package. Args: tag (string): Data identifier
tensorboardX/visdom_writer.py:142
↓ 1 callers
Method
add_scalar
Add scalar data to Visdom. Plots the values in a plot titled {main_tag}-{tag}. Args: tag (string): Data identifier
tensorboardX/visdom_writer.py:49
↓ 1 callers
Method
add_summary
(self, summary, global_step=None, walltime=None)
tensorboardX/writer.py:63
next →
1–100 of 365, ranked by callers