Code Monkey home page Code Monkey logo

Comments (7)

shams2023 avatar shams2023 commented on September 23, 2024 1

This is my setup for MSVD: DATA_PATH=./Cap4Video/MSVD-Frames python -m torch.distributed.launch --nproc_per_node=2 --master_port 2963 train_video.py --do_train --num_thread_reader=4 --epochs=5 --batch_size=128 --n_display=20 --data_path ./Cap4Video/MSVD-Frames/Frames --features_path ./Cap4Video/MSVD-Frames/Frames/MSVD_frames --output_dir ckpts/MSVD-resume --lr 1e-4 --max_words 32 --max_frames 12 --batch_size_val 16 --datatype msvd --feature_framerate 1 --coef_lr 1e-3 --freeze_layer_num 0 --slice_framepos 2 --loose_type --linear_patch 2d --sim_header seqTransf --strategy 2 --pretrained_clip_name ViT-B/32 --interaction wti --text_pool_type transf_avg --world_size 2 ;\

nproc_per_node and world_size is the number of GPUs, in your case it would be 1

According to your design, the first stage train_ Can video. py run? Because I see that this configuration file lacks a lot of path information compared to msrvtt.
May I ask if it is possible to share a successful running code with me? Just send me my email( [email protected] )I want to debug and see the specific process operation inside
Sorry to bother you again, thank you very much for your help!

(按照您的设计第一阶段train_video.py可以运行吗?因为我看这个配置文件相比较于msrvtt少了好多路径信息。
请问是否可以分享我一个成功的运行代码呢?发我邮箱就好([email protected]),我想要debug看看里面的具体流程运转
很抱歉再次打扰到您,万分感谢您的帮助!)

from cap4video.

fazlicodes avatar fazlicodes commented on September 23, 2024

Hi @shams2023 were you able to reproduce the results for all the datasets?

from cap4video.

shams2023 avatar shams2023 commented on September 23, 2024

你好@shams2023您能够重现所有数据集的结果吗?

No, did you reproduce the msvd dataset?

from cap4video.

dumbelldore avatar dumbelldore commented on September 23, 2024

I trained the stage 1, but not the stage 2 yet

from cap4video.

shams2023 avatar shams2023 commented on September 23, 2024

我训练了第 1 阶段,但还没有训练第 2 阶段

May I ask how to configure the file and how to set it up? Mine is a single card 3090.
This is the following file:
image

from cap4video.

dumbelldore avatar dumbelldore commented on September 23, 2024

This is my setup for MSVD:
DATA_PATH=./Cap4Video/MSVD-Frames
python -m torch.distributed.launch --nproc_per_node=2 --master_port 2963
train_video.py
--do_train --num_thread_reader=4 --epochs=5 --batch_size=128 --n_display=20
--data_path ./Cap4Video/MSVD-Frames/Frames
--features_path ./Cap4Video/MSVD-Frames/Frames/MSVD_frames
--output_dir ckpts/MSVD-resume
--lr 1e-4 --max_words 32 --max_frames 12 --batch_size_val 16
--datatype msvd
--feature_framerate 1 --coef_lr 1e-3
--freeze_layer_num 0 --slice_framepos 2
--loose_type --linear_patch 2d --sim_header seqTransf
--strategy 2
--pretrained_clip_name ViT-B/32
--interaction wti --text_pool_type transf_avg
--world_size 2 ;\

nproc_per_node and world_size is the number of GPUs, in your case it would be 1

from cap4video.

shams2023 avatar shams2023 commented on September 23, 2024

This is my setup: DATA_PATH=./Cap4Video/MSVD-Frames python -m torch.distributed.launch --nproc_per_node=2 --master_port 2963 train_video.py --do_train --num_thread_reader=4 --epochs=5 --batch_size=128 --n_display=20 --data_path ./Cap4Video/MSVD-Frames/Frames --features_path ./Cap4Video/MSVD-Frames/Frames/MSVD_frames --output_dir ckpts/MSVD-resume --lr 1e-4 --max_words 32 --max_frames 12 --batch_size_val 16 --datatype msvd --feature_framerate 1 --coef_lr 1e-3 --freeze_layer_num 0 --slice_framepos 2 --loose_type --linear_patch 2d --sim_header seqTransf --strategy 2 --pretrained_clip_name ViT-B/32 --interaction wti --text_pool_type transf_avg --world_size 2 ;\

nproc_per_node and world_size is the number of GPUs, in your case it would be 1

Thank you for your help! I hope to continue communicating with you!
(感谢你的帮助!希望能继续和你保持交流!)

from cap4video.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.