FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fixed training interrupt bug by bobo0810 · Pull Request #123 · DAMO-NLP-SG/Video-LLaMA · GitHub

Fixed training interrupt bug - #123

Open
bobo0810 wants to merge 1 commit into
DAMO-NLP-SG:mainfrom
bobo0810:main
Open

bobo0810 wants to merge 1 commit into
DAMO-NLP-SG:mainfrom
bobo0810:main

Conversation

Copy link
Copy Markdown

Before repair:

TypeError: Caught TypeError in DataLoader worker process 6.

  File "/video_llama/datasets/datasets/webvid_datasets.py", line 70, in __getitem__

    video_path = self._get_video_path(sample_dict)

  File "/video_llama/datasets/datasets/webvid_datasets.py", line 50, in _get_video_path

    rel_video_fp = os.path.join(sample['page_dir'], str(sample['videoid']) + '.mp4')

  File "/opt/conda/lib/python3.10/posixpath.py", line 76, in join

    a = os.fspath(a)

TypeError: expected str, bytes or os.PathLike object, not float

After repair:

Train: data epoch: [1]  [ 150/2500]  eta: 0:10:20  lr: 0.000098  loss: 2.7766  time: 0.2573  data: 0.0000  max mem: 53623

[15:49:40]ERROR opening: /alluxio/multi-data/webvid/val_file/nan/24205120.mp4, No such file or directory

Failed to load examples with video: /alluxio/multi-data/webvid/val_file/nan/24205120.mp4. Will randomly sample an example as a replacement.

Train: data epoch: [1]  [ 200/2500]  eta: 0:10:04  lr: 0.000098  loss: 2.3127  time: 0.2587  data: 0.0000  max mem: 53623

Copy link
Copy Markdown
Author

Fixed a bug that caused training to be interrupted when page_dir was Nan

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL