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

fix bugs: fix some bugs in loading data #774

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

Hsiayukoo
Copy link
Contributor

@Hsiayukoo Hsiayukoo commented Apr 25, 2024

(1)use with open() rather than open()
(2)use meaningful variables
(3)fix some deep copy problems

Thank you for your contribution to the MindCV repo.
Before submitting this PR, please make sure:

Motivation

修改了以下问题:

  1. 参数意义不明确
    image

  2. open 之后没有关闭
    image

  3. 构造函数缺少传参,images_dir 地址拼写错误
    image

  4. 深浅拷贝问题
    最后读取后的数据每一个标签都关联上了所有的样本。

Test Plan

(How should this PR be tested? Do you require special setup to run the test or repro the fixed bug?)

Related Issues and PRs

(Is this PR part of a group of changes? Link the other relevant PRs and Issues here. Use https://help.github.com/en/articles/closing-issues-using-keywords for help on GitHub syntax)

(1)we should close() after open()
(2)use meaningful variables
(3)fixe some deep copy problems

fix blow bugs:
(1)we should close() after open()
(2)use meaningful variables
(3)fix some deep copy problems

add empty line

fix guides.

change some code comments
@XixinYang XixinYang merged commit d44ce07 into mindspore-lab:main Apr 26, 2024
5 checks passed
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.

3 participants