microsoft / Bringing-Old-Photos-Back-to-Life

Bringing Old Photo Back to Life (CVPR 2020 oral)
https://arxiv.org/abs/2004.09484
MIT License
15.14k stars 2k forks source link

i am not able to run code for installation #267

Open rakshitsharma574 opened 1 year ago

rakshitsharma574 commented 1 year ago

git : The term 'git' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:2 char:1

Copy-Item : A parameter cannot be found that matches parameter name 'rf'. At line:3 char:4

vionomad commented 1 year ago

Sounds like you are on a Windows system and not Linux. And the 'git' package is not installed.

justsomeguy564 commented 10 months ago

I am on a Windows system and I have git. I installed using git clone https://github.com/vacancy/Synchronized-BatchNorm-PyTorch but the command cp -rf Synchronized-BatchNorm-PyTorch/sync_batchnorm . doesn't work for me. cp is a linux command for copy.

Can this be run in Windows?

If so, it looks like the line is trying to copy the contents of the Synchronized-BatchNorm-PyTorch/sync_batchnorm directory up one level.

Is that correct?

Aspudden commented 10 months ago

Just for information, I have the same problem as you justsomeguy564, but in my case I try to clone MS code ..

git clone https://github.com/MicrosoftDocs/mslearn-create-razor-pages-aspnet-core

I'm also on Windows system, have installed also git but still error ..