collect_in_fetch_verbose

pyrcs.utils.collect_in_fetch_verbose(data_dir, verbose)[source]

Create a new parameter that indicates whether to print relevant information in console (used only if it is necessary to re-collect data when trying to fetch the data).

Parameters:
  • data_dir (str | None) – name of a folder where the pickle file is to be saved

  • verbose (bool | int) – whether to print relevant information in console

Returns:

whether to print relevant information in console when collecting data

Return type:

bool | int

Example:

>>> from pyrcs.utils import collect_in_fetch_verbose

>>> collect_in_fetch_verbose(data_dir="data", verbose=True)
False