Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
Dinov2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Joseph Omar
Dinov2
Commits
b507fbcf
Unverified
Commit
b507fbcf
authored
1 year ago
by
Patrick Labatut
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Minor config tweaks (#246)
Ignore import warnings in hubconf and trigger lint workflow on PR.
parent
9a4564ce
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.github/workflows/lint.yaml
+1
-2
1 addition, 2 deletions
.github/workflows/lint.yaml
dinov2/hub/utils.py
+0
-2
0 additions, 2 deletions
dinov2/hub/utils.py
setup.cfg
+1
-0
1 addition, 0 deletions
setup.cfg
with
2 additions
and
4 deletions
.github/workflows/lint.yaml
+
1
−
2
View file @
b507fbcf
...
...
@@ -6,8 +6,7 @@ on:
-
main
pull_request
:
branches
:
-
master
-
'
gh/**'
-
main
jobs
:
run-linters
:
...
...
This diff is collapsed.
Click to expand it.
dinov2/hub/utils.py
+
0
−
2
View file @
b507fbcf
...
...
@@ -3,8 +3,6 @@
# This source code is licensed under the Apache License, Version 2.0
# found in the LICENSE file in the root directory of this source tree.
import
torch.nn
as
nn
_DINOV2_BASE_URL
=
"
https://dl.fbaipublicfiles.com/dinov2
"
...
...
This diff is collapsed.
Click to expand it.
setup.cfg
+
1
−
0
View file @
b507fbcf
...
...
@@ -3,5 +3,6 @@ max-line-length = 120
ignore
= E203,E501,W503
per-file-ignores
=
__init__.py:F401
hubconf.py:F401
exclude
=
venv
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment