Check if all necessary python modules are available
Source:R/install_and_config.R
check_aif_py_modules.Rd
This function checks if all python modules necessary for the package aifeducation to work are available.
Arguments
- trace
bool
TRUE
if a list with all modules and their availability should be printed to the console.- check
string
determining the machine learning framework to check for.check="pytorch"
for 'pytorch',check="tensorflow"
for 'tensorflow', andcheck="all"
for both frameworks.
Value
The function prints a table with all relevant packages and shows which modules are available or unavailable.
If all relevant modules are available, the functions returns TRUE
.
In all other cases it returns FALSE
See also
Other Installation and Configuration:
AifeducationConfiguration
,
aifeducation_config
,
install_py_modules()
,
set_config_cpu_only()
,
set_config_gpu_low_memory()
,
set_config_os_environ_logger()
,
set_config_tf_logger()
,
set_transformers_logger()