Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

针对视频和数据集较大而无法上传至仓库问题的可能的解决方法 #61

Open
andyhuang18 opened this issue Jan 19, 2024 · 7 comments

Comments

@andyhuang18
Copy link
Collaborator

andyhuang18 commented Jan 19, 2024

1. 采取外链的方法:

将视频上传至在线平台(如Bilibili、优酷等),或者将视频和数据集上传到百度网盘、谷歌网盘里。并在报告处注明地址。

2. 采用Git LFS(Large File Storage):

具体方法参见:地址,但是LFS也有一定的上限(2GB)

建议还是采用外链的方法,庞大的GitHub仓库会使得克隆时的速度变慢

@Sakura-Hydrangea
Copy link

可以把文件上传至release,具体方法https://www.cnblogs.com/hupo376787/p/12054367.html

@zty08111220
Copy link

能交压缩包吗

@andyhuang18
Copy link
Collaborator Author

能交压缩包吗

可以的

@RnTs1002
Copy link

RnTs1002 commented Jan 20, 2024

视频文件过大无法上传,已经将百度链接存放在final文件README文件中,但还是有问题想要请教。
第一次push后被提醒文件过大push失败,发现是视频文件过大。后在本地删除视频文件想重新上传,但是一直不成功且一直被提醒是视频文件过大而导致整个文件夹上传失败。参考了https://blog.csdn.net/qq997843911/article/details/88979051 等帖子,尝试删除git缓存的文件,还是未能解决。最后是通过github直接upload上传了文件。
虽然作业已经提交,但是还是想在这里留个👂,希望可以得到帮助,感谢~

@andyhuang18
Copy link
Collaborator Author

@RnTs1002 我以前也经历过这样的步骤,当大文件已经被commit后,记录存在了,需要清理cache才能reset。这里推荐一个github仓库,以及文档。阅读完毕后一定会有所收获的~

@RnTs1002
Copy link

@RnTs1002 我以前也经历过这样的步骤,当大文件已经被commit后,记录存在了,需要清理cache才能reset。这里推荐一个github仓库,以及文档。阅读完毕后一定会有所收获的~

感谢回复orz
之前也尝试过清理,但是应该有什么环节出了岔子。感谢推荐orz,会认真阅读的~

@thirstylearning
Copy link

视频如果需要外链而且想保密的话,推荐上传至优酷视频,上传之后可以设置密码,他人需要通过密码来访问视频

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

No branches or pull requests

5 participants