评论: 华为发布会翻车?官方回应大模型被指造假

只有登录用户才能发表评论,点击此处登录    返回新闻帖
pat4ng 发表评论于 2024-05-18 05:05:37
狗粮们都是一帮不学无术的,sleep函数在多进程系统里是经常出现的,为的就是进程之间运行快的等待计算慢的进程而达到进程同步的作用,稍微懂点编程的都知道。狗粮们就别在这里丢人现眼了。。。
======================================
有不同意见可以好好说吗?其实文章没说清楚,因为当时现场演示产生这张图片用了6秒钟多一点,这其中包括sleep了6秒钟,也就是说整个生成过程只用了一秒钟也不到,创造了世界奇迹。这是大家质疑的根本原因
不允许的笔名 发表评论于 2024-05-18 02:10:19
为什么是6秒?如果后台真在工作,6秒后台没完成不是大现眼?如果3秒就完成了不是白白遥遥领先了3秒?楼下五毛不学无术还要洗地。

正确的做法是wait event, 后台完成了就set event。
蟹粉小笼包 发表评论于 2024-05-17 20:00:40
狗粮们都是一帮不学无术的,sleep函数在多进程系统里是经常出现的,为的就是进程之间运行快的等待计算慢的进程而达到进程同步的作用,稍微懂点编程的都知道。狗粮们就别在这里丢人现眼了。。。
roliepolieolie 发表评论于 2024-05-17 16:28:41
华为当年手机照相能力造假,结果人家编辑对着裤衩照,手机上出现了月亮的环形山。这都是哪儿跟哪儿。最让人跌落眼睛的是,华为动用其势力掩盖丑闻,让编辑丢了职位。华为的水有多深,自己掂量掂量。
lzslsb 发表评论于 2024-05-17 16:27:54
Here is the Microsoft Edge copilot explanation of the code (think it as chartGPT front end). 看看楼上谁真懂了这程序。
================
repost due to format issue
================
You
please explain the code in the image
(above code image copied to copilot and its interpretation below).

Copilot
Analyzing the image: Privacy blur hides faces from Copilot

Sure, I’d be happy to explain the code in the image. Here’s a breakdown:

Python

if __name__ == '__main__':
prompt = input('>>> ')
save_path = '/home/demo/output.jpeg'

th = Thread(target=ModelInference, args=(prompt, save_path))
th.start()

try:
time.sleep(6)
except KeyboardInterrupt:
running = False
traceback.print_exc()

th.join()
AI-generated code. Review and use carefully. More info on FAQ.
if __name__ == '__main__': This line checks if the script is being run as the main program. If it is, the code within this block will execute.
prompt = input('>>> ') This line takes user input from the console and assigns it to a variable named prompt.
save_path = '/home/demo/output.jpeg' This line defines a file path where the output will be saved.
th = Thread(target=ModelInference, args=(prompt, save_path)) This line creates a new thread to run a function called ModelInference with prompt and save_path as arguments.
th.start() This line starts the execution of the thread.
The try-except block is used to handle exceptions. In this case, it’s used to catch a KeyboardInterrupt exception, which is typically raised when the user hits Ctrl+C while the script is running.
time.sleep(6) This line makes the script pause for 6 seconds.
running = False If there’s a keyboard interruption, it sets a running variable to False.
traceback.print_exc() This line prints the traceback of the exception.
th.join() This line makes the main program wait for the thread to complete execution before proceeding.
This script appears to be part of a larger program for running some kind of model inference. The model inference is run in a separate thread, and the main program waits for a short period of time (6 seconds) for potential keyboard interruption. If there’s a keyboard interruption, it stops the execution and prints the traceback of the exception. Finally, it waits for the thread to complete execution before proceeding. The results of the model inference are presumably saved to the specified path. Please note that the actual behavior might depend on the implementation of the ModelInference function, which is not shown in the image.
lzslsb 发表评论于 2024-05-17 16:20:31
Here is the Microsoft Edge copilot explanation of the code (think it as chartGPT front end). 看看楼上谁真懂了这程序。

>> You
please explain the code in the image
>> ')
save_path = '/home/demo/output.jpeg'

th = Thread(target=ModelInference, args=(prompt, save_path))
th.start()

try:
time.sleep(6)
except KeyboardInterrupt:
running = False
traceback.print_exc()

th.join()
AI-generated code. Review and use carefully. More info on FAQ.
if __name__ == '__main__': This line checks if the script is being run as the main program. If it is, the code within this block will execute.
prompt = input('>>> ') This line takes user input from the console and assigns it to a variable named prompt.
save_path = '/home/demo/output.jpeg' This line defines a file path where the output will be saved.
th = Thread(target=ModelInference, args=(prompt, save_path)) This line creates a new thread to run a function called ModelInference with prompt and save_path as arguments.
th.start() This line starts the execution of the thread.
The try-except block is used to handle exceptions. In this case, it’s used to catch a KeyboardInterrupt exception, which is typically raised when the user hits Ctrl+C while the script is running.
time.sleep(6) This line makes the script pause for 6 seconds.
running = False If there’s a keyboard interruption, it sets a running variable to False.
traceback.print_exc() This line prints the traceback of the exception.
th.join() This line makes the main program wait for the thread to complete execution before proceeding.
This script appears to be part of a larger program for running some kind of model inference. The model inference is run in a separate thread, and the main program waits for a short period of time (6 seconds) for potential keyboard interruption. If there’s a keyboard interruption, it stops the execution and prints the traceback of the exception. Finally, it waits for the thread to complete execution before proceeding. The results of the model inference are presumably saved to the specified path. Please note that the actual behavior might depend on the implementation of the ModelInference function, which is not shown in the image.
man008 发表评论于 2024-05-17 12:19:28
人家有机器人,我们有人机器。
莫言无语 发表评论于 2024-05-17 12:07:57
五毛需要sleep6静候,主子统一指挥。
sandanke 发表评论于 2024-05-17 11:40:28
这怎么不见五毛出来洗地?他们主子也不好意思了?
worley 发表评论于 2024-05-17 11:24:31
华为应该事先告诉演讲者不要按下Crtl-C中断,就不会露馅了。演示效果是六秒后出现高质量照片。
wisfan 发表评论于 2024-05-17 11:23:57
在淘寶上看華為手機用戶的評論,大多數是“還好吧”,也有不少抱怨華為手機的問題。大多數購買華為手機的理由是幫助國產貨。而小米手機用戶的評論幾乎都是讚揚,沒人提購買的動機是支持國貨。
Timberwolf 发表评论于 2024-05-17 11:22:22
从亩产万斤到手磨芯片到sleep6秒,你不得不服墙国各界在歪门邪道上的想象力创造力之强大以及对人们的理性思维能力之轻蔑。
barryv 发表评论于 2024-05-17 10:59:00
通过sleep来等待后台进程结束,也太低级了。
chinesegod3 发表评论于 2024-05-17 09:36:52
文生图这种开源的很多,不是个问题,华为真正的挑战是GPU的生态,一时半会赶不上的。
shakuras2000 发表评论于 2024-05-17 09:34:20
华为造假太多了
- 用单反拍照,然后冒充手机拍的
- 有月亮的时候,找张月亮的照片贴图,宣传自己摄像头清晰
我要真普選 发表评论于 2024-05-17 09:28:00
造假本領,遙遙領先!
tudoutudou99 发表评论于 2024-05-17 09:02:15
为了不让美帝发现华为早已遥遥领先,故意加了6秒的延迟,居然被指造假。掩盖遥遥领先,确实是弄虚作假,华为认了。
页次:1/1 每页50条记录, 本页显示117, 共17  分页:  [1]