Skip to content

Problem installing torchvision and luz #214

@lgawarec

Description

@lgawarec

torchvision package

install.packages("torchvision")

There is a binary version available but the source version is
later:
binary source needs_compilation
torchvision 0.5.0 0.5.1 FALSE

installing the source package ‘torchvision’

trying URL 'https://cran.rstudio.com/src/contrib/torchvision_0.5.1.tar.gz'
Content type 'application/x-gzip' length 2009611 bytes (1.9 MB)
downloaded 1.9 MB

  • installing source package 'torchvision' ...
    ** package 'torchvision' successfully unpacked and MD5 sums checked
    ** using staged installation
    ** R
    ** byte-compile and prepare package for lazy loading
    ** help
    *** installing help indices
    converting help for package 'torchvision'
    finding HTML links ... done
    base_loader html
    cifar10_dataset html
    draw_bounding_boxes html
    draw_keypoints html
    draw_segmentation_masks html
    image_folder_dataset html
    kmnist_dataset html
    magick_loader html
    mnist_dataset html
    model_alexnet html
    model_inception_v3 html
    model_mobilenet_v2 html
    model_resnet html
    model_vgg html
    tensor_image_browse html
    tensor_image_display html
    tiny_imagenet_dataset html
    transform_adjust_brightness html
    transform_adjust_contrast html
    transform_adjust_gamma html
    transform_adjust_hue html
    transform_adjust_saturation html
    transform_affine html
    transform_center_crop html
    transform_color_jitter html
    transform_convert_image_dtype html
    transform_crop html
    transform_five_crop html
    transform_grayscale html
    transform_hflip html
    transform_linear_transformation html
    transform_normalize html
    transform_pad html
    transform_perspective html
    transform_random_affine html
    transform_random_apply html
    transform_random_choice html
    transform_random_crop html
    transform_random_erasing html
    transform_random_grayscale html
    transform_random_horizontal_flip html
    transform_random_order html
    transform_random_perspective html
    transform_random_resized_crop html
    transform_random_rotation html
    transform_random_vertical_flip html
    transform_resize html
    transform_resized_crop html
    transform_rgb_to_grayscale html
    transform_rotate html
    transform_ten_crop html
    transform_to_tensor html
    transform_vflip html
    vision_make_grid html
    ** building package indices
    ** testing if installed package can be loaded from temporary location
    *** arch - i386
    Error: package or namespace load failed for 'torchvision' in library.dynam(lib, package, package.lib):
    DLL 'torchpkg' not found: maybe not installed for this architecture?
    Error: loading failed
    Execution halted
    *** arch - x64
    ERROR: loading failed for 'i386'
  • removing 'C:/Program Files/R/R-4.1.3/library/torchvision'
    Warning in install.packages :
    installation of package ‘torchvision’ had non-zero exit status

luz package

install.packages("luz")

There is a binary version available but the source version is
later:
binary source needs_compilation
luz 0.3.1 0.4.0 FALSE

installing the source package ‘luz’

trying URL 'https://cran.rstudio.com/src/contrib/luz_0.4.0.tar.gz'
Content type 'application/x-gzip' length 117197 bytes (114 KB)
downloaded 114 KB

  • installing source package 'luz' ...
    ** package 'luz' successfully unpacked and MD5 sums checked
    ** using staged installation
    ** R
    ** inst
    ** byte-compile and prepare package for lazy loading
    ** help
    *** installing help indices
    converting help for package 'luz'
    finding HTML links ... done
    accelerator html
    as_dataloader html
    context html
    ctx html
    evaluate html
    finding level-2 HTML links ... done

    fit.luz_module_generator html
    get_metrics html
    lr_finder html
    luz_callback html
    luz_callback_auto_resume html
    luz_callback_csv_logger html
    luz_callback_early_stopping html
    luz_callback_gradient_clip html
    luz_callback_interrupt html
    luz_callback_keep_best_model html
    luz_callback_lr_scheduler html
    luz_callback_metrics html
    luz_callback_mixup html
    luz_callback_model_checkpoint html
    luz_callback_profile html
    luz_callback_progress html
    luz_callback_resume_from_checkpoint html
    luz_callback_tfevents html
    luz_callback_train_valid html
    luz_load html
    luz_load_checkpoint html
    luz_load_model_weights html
    luz_metric html
    luz_metric_accuracy html
    luz_metric_binary_accuracy html
    luz_metric_binary_accuracy_with_logits
    html
    luz_metric_binary_auroc html
    luz_metric_mae html
    luz_metric_mse html
    luz_metric_multiclass_auroc html
    luz_metric_rmse html
    luz_metric_set html
    luz_save html
    nn_mixup_loss html
    nnf_mixup html
    pipe html
    predict.luz_module_fitted html
    reexports html
    set_hparams html
    set_opt_hparams html
    setup html
    ** building package indices
    ** installing vignettes
    ** testing if installed package can be loaded from temporary location
    *** arch - i386
    Error: package or namespace load failed for 'luz' in library.dynam(lib, package, package.lib):
    DLL 'torchpkg' not found: maybe not installed for this architecture?
    Error: loading failed
    Execution halted
    *** arch - x64
    ERROR: loading failed for 'i386'

  • removing 'C:/Program Files/R/R-4.1.3/library/luz'
    Warning in install.packages :
    installation of package ‘luz’ had non-zero exit status

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions