Category Archives: Tech Zone

#Keras tip: you actually need to specify batch size again when you run model.predict() after model.fit(), otherwise it defaults to a batch size of 32. Depending on your model this could be too small, leading to incredibly slow inference. Common online examples do not seem to emphasize this at all.

由兩年前開始,人工智能已經可以做到換臉的效果。*隨著技術的成熟和普及,一些…不太見得光的用途亦開始出現。網上社群Reddit現時有一個群組專門把著名女星的臉配上成人影片之上。該社群還推出了一個應用程式把換臉程序大幅簡化,只要用戶找到影片,按幾個鈕就可以利用家中電腦的顯視卡製作影片,無須對背後的技術有任何瞭解。難怪網媒Motherboard的報導標題為「We Are Truly Fucked」,因為根本無法阻止有心入把別人當成對象製作影片。

從市場發展來看,這技術應該有利成人影業。現時的製作需要願意放下身段又有一定相貌身材的藝人,當換臉或人造臉成風,那「露肉」藝人的相貌就不重要了。雖說好此道的觀眾亦可在家自行製作,但過程耗時之餘,次次換臉不換身也會厭吧?反過來說,藝人「露肉」價值應該會下降。反正有心的觀眾可以自行製作,藝人倒不如明哲保身更好。

參考:

We Are Truly Fucked: Everyone Is Making AI-Generated Fake Porn Now
https://motherboard.vice.com/…/reddit-fake-porn-app-daisy-r…
Gender and Race Change on Your Selfie with Neural Nets
https://hackernoon.com/gender-and-race-change-on-your-selfi…
Nothing is real: How German scientists control Putin’s face
https://www.youtube.com/watch?v=ttGUiwfTYvg

今日用Bitcoin買嘢要幾耐先確認得到?答案係1,928分鐘,即係一日再加八個鐘。#等到蚊瞓
Bitcoin transaction confirmation time today: 1,928 minutes.
That’s 1 day and 8 hours in case you’re counting.

太太任教的中學想搞電競比賽,結果因為家長反對而作罷。這些家長實在太落伍了,今時今日電競絕對是專業運動,職業選手有大公司贊助又有大量粉絲,絕對是人生贏家。
E-Sports is still a taboo among many Hong Kong parents, who hold the outdated view that gaming is just waste of time with little reward.

(相中為鬥陣特攻中國隊,剛在昨天的世界賽八強戰中輸了給法國)
(China just lost to France in the Quarter Finals of Overwatch World Cup. Team pictured below.)


真正靠人工智能賺大錢:顯視卡製造商NVIDIA股價今日首次突破200美元 。去年其股價才70美元,兩年前是30美元!
How A.I. makes you rich: NVIDIA reached $200 for the first time today. It was $70 one year ago and $30(!) two years ago.

網絡安全專家Mathy Vanhoef今日公開了一個影響*全部*Wi-Fi裝置的漏洞,這個漏洞讓駭客可以在沒有Wi-Fi密碼的情況下解密透過Wi-Fi傳遞的信息。雖然沒有證據顯示這個漏洞已被廣泛利用,但在漏洞公開後相信這只是時間問題。目前的最佳自保方法:
一,連上加密網頁(HTTPS)才好登入網站;
二,最好連上Wi-Fi後登入虛擬私人網絡(VPN)。

A protocol-level vulnerability allows an attacker to decrypt protected messages by attacking the four-way handshake of WPA1 and WPA2. Now more than ever: use HTTPS and VPN!

The sequential write speed of #SanDisk #Ultra #128GB #microSD is surprisingly fast, over twice that of the other 128GB card I have in hand, a Toshiba Exceria 128GB, in the Q32T1 benchmark. The figures seem too good to be true, but I have already repeated the tests 3 times for a total of 15 runs and the results still hold.

外母在家收拾時找到這些陳年舊物,現在的同學應該不知道這些是甚麼來的吧?
My students these days probably don’t know what these are.

Did you know that one of the pioneers in neural network was an econometrician? This was not an easy book to find, but it was well worth it. The book is a collection of articles written by Halbert White—as in *White* Standard Errors—that rigorously laid the theoretical foundation for the effectiveness of neural nets, including universal approximation, consistency and asymptotic normality of learned parameters. These results fill a much-needed gap for those with a background in statistics.