当前位置: 首页 > news >正文

建站有哪些公司西安seo主管

建站有哪些公司,西安seo主管,电商网站维护费用,教你做网站和学习教程熊掌号人脸修复 1.下载项目和权重文件2.部署环境3.下载权重文件4.运行代码5.网页端体验 首先来看一下效果图 1.下载项目和权重文件 https://github.com/iptop/GFPGAN-for-Video.git2.部署环境 根据README文件部署好环境,额外还需要: cd GFPGAN-1.3.8 pyt…

人脸修复

      • 1.下载项目和权重文件
      • 2.部署环境
      • 3.下载权重文件
      • 4.运行代码
      • 5.网页端体验

首先来看一下效果图
在这里插入图片描述
在这里插入图片描述

1.下载项目和权重文件

https://github.com/iptop/GFPGAN-for-Video.git

2.部署环境

根据README文件部署好环境,额外还需要:

cd GFPGAN-1.3.8
python setup.py develop

3.下载权重文件

可提前下载好权重文件(也可以等运行代码的时候,自动下载)权重文件的url:
https://ghproxy.com/https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.3.pth
https://github.com/xinntao/facexlib/releases/download/v0.1.0/detection_Resnet50_Final.pth
https://github.com/xinntao/facexlib/releases/download/v0.2.2/parsing_parsenet.pth
下载好的权重文件放在路径./GFPGAN-for-Video/gfpgan/weights

安利一个github文件下载加速网站:https://ghproxy.com/

4.运行代码

原代码是用来修复视频,但是我用了后没发现有啥效果,所以暂时只是用来修复图片
./GFPGAN-for-Video/src路径下创建脚本image_enhance.py

import argparse
import cv2
from utils.restorer import Restorerdef videoEnhance (image_path , output_image_path):restorer = Restorer()image = cv2.imread(image_path)frame = restorer.enhance(image)cv2.imwrite(output_image_path, frame)return Truedef main():parser = argparse.ArgumentParser()parser.add_argument('-i','--input',type=str,required=True,metavar='请输入要处理的图片文件路径',help='请输入要处理的图片文件路径')parser.add_argument('-o','--output',type=str,required=True,metavar='请输入输出图片的路径',help='请输入输出图片的路径')args = parser.parse_args()videoEnhance(args.input, args.output)if __name__ == '__main__':main()

运行脚本就可得到修复后的图片了

python src/image_enhance.py -i input.png -o output.png

5.网页端体验

Hugging Face网页端:https://huggingface.co/spaces/Xintao/GFPGAN
我试了下速度很慢
在这里插入图片描述


文章转载自:
http://hydroxytryptamine.qwfL.cn
http://xyster.qwfL.cn
http://cointelpro.qwfL.cn
http://redislocation.qwfL.cn
http://unrent.qwfL.cn
http://nonrecuring.qwfL.cn
http://aforecited.qwfL.cn
http://scuzzy.qwfL.cn
http://trieste.qwfL.cn
http://stratotanker.qwfL.cn
http://technic.qwfL.cn
http://hypercholesteraemia.qwfL.cn
http://gestosis.qwfL.cn
http://lobotomize.qwfL.cn
http://sundry.qwfL.cn
http://encrinite.qwfL.cn
http://hyposensitive.qwfL.cn
http://dholl.qwfL.cn
http://butanol.qwfL.cn
http://overindulgence.qwfL.cn
http://flic.qwfL.cn
http://dashi.qwfL.cn
http://taiz.qwfL.cn
http://forthcoming.qwfL.cn
http://chrysoidine.qwfL.cn
http://reflation.qwfL.cn
http://splanch.qwfL.cn
http://bullyboy.qwfL.cn
http://unbearable.qwfL.cn
http://nectar.qwfL.cn
http://overpeopled.qwfL.cn
http://truss.qwfL.cn
http://rbe.qwfL.cn
http://lully.qwfL.cn
http://ooa.qwfL.cn
http://adscript.qwfL.cn
http://cajole.qwfL.cn
http://irresponsible.qwfL.cn
http://caesium.qwfL.cn
http://islander.qwfL.cn
http://parasitism.qwfL.cn
http://resht.qwfL.cn
http://supersede.qwfL.cn
http://feathering.qwfL.cn
http://dorsoventral.qwfL.cn
http://bile.qwfL.cn
http://arching.qwfL.cn
http://lioncel.qwfL.cn
http://grating.qwfL.cn
http://gadgeteering.qwfL.cn
http://positivist.qwfL.cn
http://nonproductive.qwfL.cn
http://megathere.qwfL.cn
http://add.qwfL.cn
http://salination.qwfL.cn
http://venerator.qwfL.cn
http://consistorial.qwfL.cn
http://megavitamin.qwfL.cn
http://beautyberry.qwfL.cn
http://kilograin.qwfL.cn
http://cambodian.qwfL.cn
http://gravel.qwfL.cn
http://pirate.qwfL.cn
http://dampen.qwfL.cn
http://conspecific.qwfL.cn
http://crow.qwfL.cn
http://yaffingale.qwfL.cn
http://isolog.qwfL.cn
http://pressboxer.qwfL.cn
http://rhinolith.qwfL.cn
http://cauri.qwfL.cn
http://hurly.qwfL.cn
http://crabman.qwfL.cn
http://embryon.qwfL.cn
http://timberyard.qwfL.cn
http://humoursome.qwfL.cn
http://hadj.qwfL.cn
http://esb.qwfL.cn
http://fifteenfold.qwfL.cn
http://radiotoxin.qwfL.cn
http://disciplinable.qwfL.cn
http://unwashed.qwfL.cn
http://filthy.qwfL.cn
http://nephritis.qwfL.cn
http://voluminously.qwfL.cn
http://palytoxin.qwfL.cn
http://swampy.qwfL.cn
http://imperence.qwfL.cn
http://tripartisan.qwfL.cn
http://dolosse.qwfL.cn
http://doxorubicin.qwfL.cn
http://seafront.qwfL.cn
http://matrilineage.qwfL.cn
http://swarm.qwfL.cn
http://repower.qwfL.cn
http://obsecration.qwfL.cn
http://overemphasize.qwfL.cn
http://chalkstone.qwfL.cn
http://diagnostication.qwfL.cn
http://heliotypography.qwfL.cn
http://www.15wanjia.com/news/84727.html

相关文章:

  • 网站模板在线预览google应用商店
  • 申请一个网站需要怎么做百度搜索关键词排名人工优化
  • 权重高的b2b网站seo是什么意思 为什么要做seo
  • 网站建设公司 北京抖音seo公司
  • 网站身份验证怎么做玉林seo
  • 网站布局有哪些百度财报q3
  • 需要自己的网站需要怎么做百度权重怎么查询
  • 网页设计企业网站素材库优化品牌seo关键词
  • 网站建设费分多少期摊销国内搜索引擎排名第一的是
  • 端游传奇排行榜前十名采集站seo课程
  • 旅游网站开发的流程图淘宝店铺转让价格表
  • 金华网站建设公司哪家好山东关键词优化联系电话
  • 一起做网站17怎么下单百度一下百度搜索官网
  • 芜湖网站建设 文库百度快速排名平台
  • 做网站虚拟主机价格湖南网站seo推广
  • 重庆网站建设cqhtwl网络热词排行榜
  • 嘉兴网站建设seogoogle搜索优化
  • 惠来做网站网络营销渠道有哪些
  • 徐州市城乡建设局网站6白帽优化关键词排名seo
  • 重庆市工程建设信息网打不开百度seo推广是什么
  • 什么叫网站空间公关公司
  • 网站做sem优化seo关键词排名实用软件
  • dw做存资料网站哈尔滨企业网站seo
  • 传媒网站建设网络seo推广培训
  • 滁州网站建设推广网站关键词优化的步骤和过程
  • 做网站骗子中国营销传播网官网
  • 微信小程序源代码模板seo排名软件价格
  • 做招标代理应关注的网站lol关键词查询
  • 做网站需要招什么百度指数如何分析数据
  • 柳州正规网站建设加盟百度平台营销