CARVIEW |
Select Language
HTTP/2 200
date: Wed, 30 Jul 2025 22:57:50 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"e03d9df87b5ed3ee45e1636ba71019e4"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: origin-when-cross-origin, strict-origin-when-cross-origin
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=mQvbDTaqcgic%2FhnT06jbH7aFG3ZCnaixkVYhcQ45C%2BvLcZXHOMVRRIyVepOVpuFhU5tn%2FG8d%2Bqk1bzjI74Q%2FrzPwKK01eFCvU6Ocdco7w5oVoxGrU715Y%2BBUV33r4bSddjqEp7Kmtz3Y1eCHiSsj4OEf%2Fjj668rrDtpRa6qfha1U1ScK4PWqT%2BXHqOslOR7PD%2BNZcinI6aJemYMeG%2Fdxag6VOvtNV7hcYD1LxA0clKE%2BW%2BZmMHPKqyn1Woy4TK3daIK%2FWNu3mefTsiehqacPSA%3D%3D--NiB4qhsaUT24FsDU--aQohHYlaA5E5nxxc1hw3gQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1171527420.1753916270; Path=/; Domain=github.com; Expires=Thu, 30 Jul 2026 22:57:50 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 30 Jul 2026 22:57:50 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: DE2C:1E01C6:A44A1:F2D1E:688AA36E
gist:a204a3460393a630a8708a2a4f01f5fb · GitHub
Show Gist options
Save mdouze/a204a3460393a630a8708a2a4f01f5fb to your computer and use it in GitHub Desktop.
{{ message }}
Instantly share code, notes, and snippets.
Created
June 15, 2018 13:01
-
Star
0
(0)
You must be signed in to star a gist -
Fork
0
(0)
You must be signed in to fork a gist
-
Save mdouze/a204a3460393a630a8708a2a4f01f5fb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(fair_env) matthijs@devfair0144:~/src/low-shot-with-diffusion$ python diffusion.py --mode test --nlabeled 2 --seed 1 --nbg 1000000 --niter 3 | |
========================== run on Test | |
load train + test set | |
nb of eval classes 311 | |
/public/apps/anaconda2/5.0.1/envs/fair_env/lib/python2.7/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`. | |
from ._conv import register_converters as _register_converters | |
open /checkpoint/matthijs/low-shot/features/val.hdf5 | |
read /checkpoint/matthijs/low-shot/features/val_features.npy | |
features loaded in 3.415 s | |
nb of eval classes 311 | |
open /checkpoint/matthijs/low-shot/features/train.hdf5 | |
read /checkpoint/matthijs/low-shot/features/train_features.npy | |
features loaded in 87.034 s | |
selecting images, seed=1 | |
load /checkpoint/matthijs/low-shot/features/PCAR256.vt | |
dataset sizes: Xtr (250860, 256) (250860 labeled), Xte (25350, 256), 507 classes (eval on 25350 examples, 507 classes, 311 novel classes) | |
memmapping /checkpoint/matthijs/low-shot/features//f100m/concatenated_PCAR256.raw | |
[0.000 s, 0.36 GiB] make knn graph for 250860+1000000 k=30 d=256 | |
[0.000 s, 0.36 GiB] make distractor graph for ndis=1000000 k=30 | |
[0.000 s, 0.36 GiB] fname_base= /checkpoint/matthijs/low-shot/knngraph/ndis1000000 | |
[0.001 s, 0.36 GiB] load /checkpoint/matthijs/low-shot/knngraph/ndis1000000.index | |
moving to 2 GPUs | |
done in 6.657 s | |
[7.566 s, 3.07 GiB] mmap /checkpoint/matthijs/low-shot/knngraph/ndis1000000_k32_D_11.float32 /checkpoint/matthijs/low-shot/knngraph/ndis1000000_k32_I_11.int32 | |
[0.006 s, 3.07 GiB] distractor graph ready | |
[7.573 s, 3.07 GiB] spherifying all descriptors | |
[0.337 s, 3.08 GiB] search labelled (250860, 256) | |
search 245760:250860 / 250860 | |
[7.780 s, 3.08 GiB] search test (25350, 256) | |
[1.132 s, 2.58 GiB] make Flat index for labelled | |
moving to 2 GPUs | |
done in 0.328 s | |
[0.495 s, 3.08 GiB] alloc output | |
[0.000 s, 3.08 GiB] search labelled | |
[2.215 s, 3.08 GiB] search distractors | |
search 999424:1000000 / 1000000 | |
[9.513 s, 4.08 GiB] search test | |
[0.361 s, 3.58 GiB] merge results | |
[0.080 s, 3.55 GiB] graph done | |
[3.55 GiB] begin diffusion | |
knngraph_to_CSRMatrix in: 3.55 GiB | |
A: 3.55 GiB | |
B: 4.32 GiB | |
C: 4.79 GiB | |
D: 4.79 GiB, matrix nnz=64074274 | |
[1.233 s, 4.79 GiB] preproc done | |
[0.000 s, 4.79 GiB] Classes 0:507 | |
[20.490 s, 7.20 GiB] start iter | |
[25.131 s, 7.25 GiB] iter 0 val nnz 0.042 | |
[28.888 s, 7.29 GiB] iter 1 val nnz 0.213 | |
[33.233 s, 7.39 GiB] iter 2 val nnz 0.499 | |
intial state nnz 2.71 top-5 accuracy: 0.412 (0.093 on novel) | |
iter 0/3 nnz 21.15 top-5 accuracy: 0.587 (0.370 on novel) | |
iter 1/3 nnz 108.02 top-5 accuracy: 0.672 (0.531 on novel) | |
iter 2/3 nnz 252.89 top-5 accuracy: 0.678 (0.544 on novel) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can’t perform that action at this time.