Giter VIP home page Giter VIP logo

old_photos_reappear_brilliance's People

Contributors

2424004764 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

old_photos_reappear_brilliance's Issues

/usr 下并没有步骤所说的文件夹

cd /usr/yifang/photo_restoration
python3.8 run.py --input_folder /usr/yifang/photo_restoration/test_images/old --output_folder /usr/yifang/photo_restoration/output --GPU -1

image

处理带划痕的是什么命令,我这为啥报错

大佬,带划痕的怎么不行,最后没生成图片。不带划痕的是正常的。
是我这命令不对吗?就把test_images/old换成test_images/old_w_scratch,加了个 --with_scratch。
GPU那用改代码吗,还是文件夹路径没弄对

root@f917cf5388bc:/usr/yifang/photo_restoration# python3.8 run.py --input_folder /usr/yifang/photo_restoration/test_images/old_w_scratch --output_folder /usr/yifang/photo_restoration/output --GPU -1 --with_scratch

Running Stage 1: Overall restoration
initializing the dataloader
/usr/local/lib/python3.8/site-packages/torch/cuda/init.py:52: UserWarning: CUDA initialization: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx (Triggered internally at /pytorch/c10/cuda/CUDAFunctions.cpp:100.)
return torch._C._cuda_getDeviceCount() > 0
model weights loaded
Traceback (most recent call last):
File "detection.py", line 155, in
main(config)
File "detection.py", line 80, in main
model.to(config.GPU)
File "/usr/local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 600, in to
device, dtype, non_blocking, convert_to_format = torch._C._nn._parse_to(*args, **kwargs)

RuntimeError: Device index must not be negative

You are using NL + Res
Traceback (most recent call last):
File "test.py", line 110, in
input_loader = os.listdir(opt.test_input)

FileNotFoundError: [Errno 2] No such file or directory: '/usr/yifang/photo_restoration/output/stage_1_restore_output/masks/input'

Finish Stage 1 ...

无法运行,卡死

无法运行
docker import face_fix.tar hktalent/face_fix:1.0
docker run --rm -it -v $PWD:/app --name face_fix hktalent/face_fix:1.0 /bin/bash
然后卡死在run上

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.