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, see PR or code comments #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ArtoriaKawaii
Copy link

Using pytorch 2.0.1 and CUDA 11.8. Due to numpy type (np.int, np.float, etc...) is deprecated after numpy 1.20, and sklearn uses a lot in their code, so I upgrade the sklearn version to the latest (1.2.2), not sure if some bugs is caused by this upgrade.

  1. fix some typos in README.md, and delete the version limitation of sklearn.
  2. delete the version limitation of sklearn in requirements.txt.
  3. since I upgrade the sklearn version, need to update 1 import line in camouflage_HRNet.py.
  4. fix HRNet.py to solve runtime error: one of the variables needed for gradient computation has been modified by an inplace operation....
  5. fix the file paths (the input_path) in params_*.py files.
  6. fix the numpy type deprecation problem in hidden_recommend.py.

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