Update mobilevit.html
Browse files- mobilevit.html +1 -1
mobilevit.html
CHANGED
@@ -112,7 +112,7 @@
|
|
112 |
// Initialize the sentiment analysis model
|
113 |
async function initializeModel() {
|
114 |
// pipeline ํจ์๋ฅผ ์ด์ฉํ์ฌ Xenova/mobilevit-small ๋ชจ๋ธ์ ์ธ์คํด์ค๋ฅผ ์์ฑํ์ฌ ์ด๋ฅผ classifier์ ์ง์ ํ์ญ์์ค. ์ธ์คํด์ค ์์ฑ ์ quantized ํ๋ผ๋ฏธํฐ์ ๊ฐ์ false๋ก ์ค์ ํ์ญ์์ค.
|
115 |
-
classifier = pipeline('image-classification',
|
116 |
}
|
117 |
async function classifyImage() {
|
118 |
const textFieldValue = document.getElementById("imageClassificationURLText").value.trim();
|
|
|
112 |
// Initialize the sentiment analysis model
|
113 |
async function initializeModel() {
|
114 |
// pipeline ํจ์๋ฅผ ์ด์ฉํ์ฌ Xenova/mobilevit-small ๋ชจ๋ธ์ ์ธ์คํด์ค๋ฅผ ์์ฑํ์ฌ ์ด๋ฅผ classifier์ ์ง์ ํ์ญ์์ค. ์ธ์คํด์ค ์์ฑ ์ quantized ํ๋ผ๋ฏธํฐ์ ๊ฐ์ false๋ก ์ค์ ํ์ญ์์ค.
|
115 |
+
classifier = await pipeline('image-classification', 'Xenova/mobilevit-small', { quantized: false, });
|
116 |
}
|
117 |
async function classifyImage() {
|
118 |
const textFieldValue = document.getElementById("imageClassificationURLText").value.trim();
|