vggt icon indicating copy to clipboard operation
vggt copied to clipboard

How can I debug training part code?

Open TwiceMao opened this issue 1 month ago • 1 comments

@jytime thanks for your awesome work! I want to finetune your checkpoint based on my own dataset. And the codes are needed to be changed. So I want to know how can I debug the code in vscode? How should I configure the launch.json of Vscode?

4. Fine-tuning on Co3DTo fine-tune the provided pre-trained model on the Co3D dataset, run the following command. This example uses 4 GPUs with PyTorch Distributed Data Parallel (DDP):torchrun --nproc_per_node=4 launch.py

TwiceMao avatar Nov 25 '25 13:11 TwiceMao

Hi if I remember correclty, you just need to set num_workers=0, and then you can set breakpoints in vscode, or use pdb for debugging

jytime avatar Nov 28 '25 10:11 jytime