Comments (6)
Hi, which video are you using? It is possible to get black during training when the black region is very large. You can set the parameter sigmoid_offset to non-zero.
from codef.
Hi,
I am working with the provided white_smoke data.
Here is my train script:
GPUS=4
NAME=white_smoke
EXP_NAME=base
ROOT_DIRECTORY="all_sequences/$NAME/$NAME"
MODEL_SAVE_PATH="ckpts/all_sequences/$NAME"
LOG_SAVE_PATH="logs/all_sequences/$NAME"
python train.py --root_dir $ROOT_DIRECTORY
--model_save_path $MODEL_SAVE_PATH
--log_save_path $LOG_SAVE_PATH
--gpus $GPUS
--encode_w --annealed
--config configs/${NAME}/${EXP_NAME}.yaml
--exp_name ${EXP_NAME} \
Here is my test script:
GPUS=4
NAME=white_smoke
EXP_NAME=base
ROOT_DIRECTORY="all_sequences/$NAME/$NAME"
LOG_SAVE_PATH="logs/test_all_sequences/$NAME"
#WEIGHT_PATH=ckpts/all_sequences/$NAME/${EXP_NAME}/${NAME}.ckpt
WEIGHT_PATH=ckpts/all_sequences/$NAME/${EXP_NAME}/step=8000.ckpt
python train.py --test --encode_w
--root_dir $ROOT_DIRECTORY
--log_save_path $LOG_SAVE_PATH
--weight_path $WEIGHT_PATH
--gpus $GPUS
--config configs/${NAME}/${EXP_NAME}.yaml
--exp_name ${EXP_NAME}
--save_deform False
One thing I noticed is that after the training script finishes with 10K steps, there is no checkpoint with ${NAME}.ckpt, so I use the step=8000.ckpt instead.
from codef.
It is indeed unusual to get completely black results with this sequence and I cannot reproduce it. I would suggest a couple of steps to potentially resolve this issue:
-
Try training the model a few more times. Typically, the PSNR tends to be quite high after only a few iterations. If the output is entirely black, the PSNR would generally not be as high you can early stop it.
-
If multiple training attempts still lead to the same issue, consider adjusting the sigmoid_offset to 0.1. This parameter can influence the output, and tweaking it might help in avoiding entirely black results.
from codef.
cl
from codef.
Hi,
I ran test_multi.sh using the pre-trained beauty_0 ckpts and am still getting all black images -- do you have an idea on why this may be happening? I'm using the same versions for the listed requirements.
from codef.
I dug through the code and made sure the input into the decoder at this line is non-zero, but found that the output is zero. Is there a specific version of tcnn you are using?
https://github.com/qiuyu96/CoDeF/blob/main/models/implicit_model.py#L312
from codef.
Related Issues (20)
- 错误似乎是在尝试使用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 1
- 请问一个不同视频就得训练一个模型吗 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
- 在哪里指定prompt?
- 如何改变transform后的视频的风格呢?
- 视频中人物动作变化太快,训练出来的 canonical image 非常的模糊
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.