Comments (9)
How did you switch? Can you post a how to?
replace code
strategy="ddp_find_unused_parameters_true"
in train.py line 547 by
from pytorch_lightning.strategies import DDPStrategy
ddp_gloo = DDPStrategy(process_group_backend="gloo",find_unused_parameters=True)
trainer = Trainer(max_steps=hparams.num_steps,
precision=16 if hparams.vid_hash == True else 32,
callbacks=[checkpoint_callback],
logger=logger,
accelerator='gpu',
devices=hparams.gpus,
num_sanity_val_steps=1,
benchmark=True,
profiler="simple" if len(hparams.gpus) == 1 else None,
val_check_interval=hparams.valid_iters,
limit_val_batches=hparams.valid_batches,
strategy=ddp_gloo)
from codef.
Hi. You may disable the option deform_hash and vid_hash for training if you do not have tiny-cuda. We implement a version with vanilla pytorch using positional encoding. But the training time will greatly increase and thus it is not recommended.
from codef.
inference also not support
from codef.
In that case, for inference, you may also disable these two options. It should work.
from codef.
disable deform_hash and vid_hash will effect result performance?
from codef.
Certainly, the type of motion present within a video sequence can impact the performance of the model to varying degrees. Specifically, if the video primarily contains rigid motion, you can expect the performance to remain relatively consistent.
from codef.
How do I switch to gloo backend?
from codef.
Done.
from codef.
How did you switch? Can you post a how to?
from codef.
Related Issues (20)
- Suggestion: Expand Model Outreach with Gradio demo and HuggingFace Hub Hosting
- 求助,有没有好兄弟帮忙分享下all_sequences.zip国内下载源
- Can codef algorithm be used in streaming media?
- 错误似乎是在尝试使用skvideo库的ffmpeg模块写入视频帧时发生的。具体来说,您遇到了一个BrokenPipeError,这通常意味着子进程(在这种情况下是ffmpeg)在父进程尝试写入数据时已经终止或崩溃 HOT 1
- 重建视频很清楚,但是canonical图片很模糊 HOT 1
- No such file or directory: 'configs/StrangerThings/base.yaml'
- CUDA error: out of memory HOT 1
- 重建的transfomed视频是黑色的
- Question about the flow HOT 1
- How can I reduce the blur in my canonical image?
- Regarding pe_deformed_grid = (deformed_grid + 0.3) / 1.6 HOT 1
- 【BUG ?】 Problems about the background loss when `self_bg=False`
- a question about train code? HOT 1
- Some confusions about the code HOT 2
- why can't i run this application on windows10 OS?
- 请问一个不同视频就得训练一个模型吗 HOT 2
- problem of reconstruction by canonical image HOT 1
- i met some errors when run train step 1 in colab
- video translation 测试这一步具体是怎么实现的,该对哪个图片使用controlnet。那这个视频风格迁移的效果是取决于controlnet生图的效果吗
- Codef
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codef.