Benchmark for DeepLearning anomaly detection
Click here for details(Japanese).
Click here for details(Japanese).
Benchmark for DeepLearning anomaly detection
License: MIT License
以下に出てくるtrainとtestはどこで定義されていますか?
定義されていない場合、trainは異常も含む全学習データ、testは異常も含む全テストデータという理解でよろしいでしょうか。
"""
テスト用
model: 特徴抽出用モデル(predict)
"""
model = Model(model.get_layer(index=0).input, model.get_layer(index=-4).output) # Arcfaceを削除
# 正常vectorの呼び出し
hold_vector = model.predict(train)# shape(len(train), 1280)
# test_vectorの呼び出し
predict_vector = model.predict(test)# shape(len(test), 1280)
score = []
for i in range(len(predict_vector)):
cos_similarity = cosine_similarity(predict_vector[i], hold_vector) # shape(len(test), len(train))
score.append(np.max(cos_similarity))
return np.array(score)
Hello
how are you?
Thanks for contributing your project.
I have a question.
u said that the parameters of AdaCos are adjusted automatically.
However, I found that the parameters are fixed in your project.
Could u explain this in detail.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.