当前位置:网站首页>Df2net 3D model deployment
Df2net 3D model deployment
2022-07-24 17:28:00 【Program black】
Through unremitting efforts ,DF2NET Finally in my little MAC Deployed . There are many problems , Here's a record .
github link :https://github.com/xiaoxingzeng/DF2Net/
1. Environmental requirements 
because 0.4.0 Version of pytorch Installation error , Here, the version is modified to 0.4.1, Use pip Installation .
about Dlib and PIL, You can install all the latest versions .
2. Code changes
DF2NET Of demo.py The input pictures of file processing are all from img_list.txt File read , And careful observation can find img_list.txt The contents of the file and the files contained in the file directory do not match one by one , Some files are missing , Need to find new pictures to add img Directory or modification img_list.txt File to match .
、

3. Problems caused by version differences
stay mac os in ,macos I won't support it cuda, So here will be num_workers Change it to 0, Prevent thread conflicts , And will all cuda Change it to cpu Carry out operations .
meanwhile , The old version of torch.autograd.Variable The method of using has changed , In the new torch In the version , New methods are needed to use Variable function , Otherwise, user level exceptions will appear .
Running results
Input picture :
Using online matlab View and preview the model depth map .
Get the depth map .
Generate the final 3D model by running the detail drawing .
边栏推荐
- OS Experiment 5 process switching based on kernel stack switching
- Image information is displayed by browser: data:image/png; Base64, + image content
- Use yarn
- Delay and jitter in network
- HCNP Routing&Switching之DHCP中继
- Exception handling - a small case that takes you to solve NullPointerException
- Colleges and universities have introduced 23 Philippine doctors with heavy funds, and the relevant departments have launched an investigation!
- 详解 Apache Hudi Schema Evolution(模式演进)
- Scroll bar adjust brightness and contrast
- 微信朋友圈的高性能复杂度分析
猜你喜欢

Programming language exercises (I)

Want to make sandbox games? Then you must not miss this plug-in (unity3d)

nc 端口转发

查数据库实际数据增长情况

安全:如何为行人提供更多保护

近30所高校,获教育部点名表扬!
Shardingsphere database read / write separation

Work with growingio engineers this time | startdt Hackathon

别再到处乱放配置文件了!试试我司使用 7 年的这套解决方案,稳的一秕

Getaverse,走向Web3的远方桥梁
随机推荐
Code random notes_ Linked list_ 707 design linked list
Hcip fourth day notes
Mobile robot (IV) four axis aircraft
Pat class A - check in and check out
Is it safe for qiniu to open an account?
Canvas 从入门到劝朋友放弃(图解版)
What is the meaning of void 0? Is undefined changeable?
Opencv has its own color operation
2022 Yangtze River Delta industrial automation exhibition will be held in Nanjing International Exhibition Center in October
NPM install reported -4058 error
HCNP Routing&Switching之DHCP中继
PAT甲级——拼写正确
ShardingSphere数据库读写分离
[matlab]: basic knowledge learning
portfwd 端口转发
2022 Asia International Internet of things exhibition
Extension of ES6 function
Bring 120W goods in 15 seconds. You can also shoot such a popular video
The orders in the same city are delivered in the same city, and the order explosion is still handy!
Getaverse,走向Web3的远方桥梁