* replaced lambda statements with local functions to work with pickle in dataset.py and moved collate function outside of main and added its own class in cogvideox_image_to_video_lora.py
* Update cogvideox_image_to_video_lora.py
Remove the bug-fix related to image encoding since it's already present in #31
* Update cogvideox_image_to_video_lora.py
Revert to last commit (60c46827404cd4780ee0e7d3c9c56a953e2a04ca)