当前位置:网站首页>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 .
边栏推荐
- JSP custom tag library -- select tag
- Baidu PaddlePaddle easydl x wesken: see how to install the "eye of AI" in bearing quality inspection
- 2022 牛客暑期多校 K - Link with Bracket Sequence I(线性dp)
- mysql 查询某字段中以逗号分隔的字符串的方法
- Atcoder Beginner 202 E - Count Descendants(离线查询 重链剖分树上启发式合并)
- Image information is displayed by browser: data:image/png; Base64, + image content
- Why can't sizeof (ARR) / size (arr[0]) be used to calculate the array length inside the called function?
- What should we pay attention to in the resume of software testing?
- At & T pseudo instruction and interpretation of CFI CFA
- Work with growingio engineers this time | startdt Hackathon
猜你喜欢

调整图像亮度的滚动条演示实验

Bring 120W goods in 15 seconds. You can also shoot such a popular video
![Why can't sizeof (ARR) / size (arr[0]) be used to calculate the array length inside the called function?](/img/e6/1d2213f3eb9bd0ff537a66d2b01f98.png)
Why can't sizeof (ARR) / size (arr[0]) be used to calculate the array length inside the called function?

QT graphical interface beginner project - unmanned aerial vehicle group combat simulation

Programming language exercises (I)

Number theory division block explanation example: 2021 Shaanxi Race C

mysql 查询某字段中以逗号分隔的字符串的方法

Still using xshell? You are out, recommend a more modern terminal connection tool!

Mobile robot (IV) four axis aircraft

Logical operation of image pixels
随机推荐
还在用Xshell?你out了,推荐一个更现代的终端连接工具!
pinia 入门及使用
Is it safe for Mr. qiniu to open a securities account? Can I drive it?
DHCP relay of HCNP Routing & Switching
Internet Download Manager配置
Pat class A - A + B format
Getaverse,走向Web3的远方桥梁
Nearly 30 colleges and universities were named and praised by the Ministry of education!
Safety: how to provide more protection for pedestrians
Atcoder beginer 202 e - count descendants (heuristic merge on heavy chain split tree for offline query)
Summary of ROS master-slave communication experience
Qsqldatabase: solution of qmmysql driver not loaded
Stop littering configuration files everywhere! Try our 7-year-old solution, which is stable
DF2NET三维模型部署
Logisim group experiment 10 single cycle MIPS CPU
Still shocked by the explosion in the movie? Then you must not miss this explosive plug-in of unity
OS Experiment 5 process switching based on kernel stack switching
Baidu PaddlePaddle easydl x wesken: see how to install the "eye of AI" in bearing quality inspection
Hcip day 3
hcip第三天