Video-Super-Resolution-Library icon indicating copy to clipboard operation
Video-Super-Resolution-Library copied to clipboard

[scripts/0x_buildscript] Link to IPP file returns 403 Forbidden

Open bbgdzxng1 opened this issue 1 year ago • 2 comments

  1. Link for IPP file in scripts/01_pull_resources.sh is no longer valid. It returns 403
$ curl --location --request GET 'https://registrationcenter-download.intel.com/akdlm/irc_nas/19007/l_ipp_oneapi_p_2021.6.2.16995_offline.sh' --head
HTTP/1.1 403 Forbidden
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>P1HKAT8M7JHH9E2X</RequestId><HostId>pktHIMr2BMSeo71zVDqw918+PVDhUC/ZVABGevEM6Sw5yBcAPDTyJ2KHLI5Pou27HJzD2aDF9Ew=</HostId></Error>

Lines 66 & 67 will need to be updated with updated URL...

# pull IPP
wget https://registrationcenter-download.intel.com/akdlm/IRC_NAS/7e07b203-af56-4b52-b69d-97680826a8df/l_ipp_oneapi_p_2021.12.1.16_offline.sh
if [ ! -f "l_ipp_oneapi_p_2021.12.1.16_offline.sh" ];then
    echo "Failed to download IPP package!"
    exit 1
fi

It may be more elegant to use a basename in the [ test ] commands

# pull IPP
ipp_offline_uri='https://registrationcenter-download.intel.com/akdlm/IRC_NAS/7e07b203-af56-4b52-b69d-97680826a8df/l_ipp_oneapi_p_2021.12.1.16_offline.sh'
wget "${ipp_offline_uri}"
if [ ! -f "${ipp_offline_uri##*/}" ];then
    echo "Failed to download IPP package!"
    exit 1
fi
  1. Same goes for lines 17-19 in scripts/02_install_prerequisites.sh
# install IPP
chmod +x ./l_ipp_oneapi_p_2021.12.1.16_offline.sh
sudo ./l_ipp_oneapi_p_2021.12.1.16_offline.sh -a -s --eula accept
echo "source /opt/intel/oneapi/ipp/latest/env/vars.sh" | tee -a ~/.bash_profile

It may also be preferable to save locally as a versionless file name, ./ipp_oneapi_offline_latest.sh, so that 02_install_prerequisites does not need to be continuously updated.

Thanks

bbgdzxng1 avatar Aug 09 '24 20:08 bbgdzxng1

I @bbgdzxng1 appreciate your effort in project development, thanks for code snippets! Hope all of the issues and bugs, including ones pointed by you, will be fully addressed in upcoming major version release of Intel® Library for Video Super Resolution. The most significant is one regarding GPU build using CentOS build, there will be migration to CentOS 9, and update to Dockerfile structures to meet the highest containers standards.

For now, as internal release takes some time, I encourage you to check the optimized all-in-one environment and weekly updated project: Intel® Tiber™ Broadcast Suite package docker build script

It includes GPU and CPU based RAISR ffmpeg plugin as well as set of other optimizations and functionalities.

RAISR part: Intel® Library for Video Super Resolution (RAISR) for Intel® Tiber™ Broadcast Suite

image

Fiooodooor avatar Aug 31 '24 04:08 Fiooodooor

https://github.com/OpenVisualCloud/Video-Super-Resolution-Library/pull/11

Mionsz avatar Aug 31 '24 06:08 Mionsz

Closed, thanks to @Mionsz.

bbgdzxng1 avatar Oct 30 '24 20:10 bbgdzxng1