mindspore-lab / mindcv

A toolbox of vision models and algorithms based on MindSpore
https://mindspore-lab.github.io/mindcv/
Apache License 2.0
230 stars 139 forks source link

Fix the bug of CI and ssd compatibility issue #782

Closed PingqiLi closed 2 months ago

PingqiLi commented 2 months ago

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

Motivation

This PR fixed 2 issues:

  1. The CI used to failed due to the test cases trying to download the MNIST dataset from a url which is no longer accessible.
  2. The ssd uses API of mindspore.MindDataset.project. It is defined as mindspore.dataset.Dataset.project(columns) in the most recent mindspore version. The previous PR wrongly used the parameter name as "output_columns".

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)