摘要:
评估。原来采用的是sum的方式,现在改成均值 This is a very insightful observation. Looking at the evaluate.py code, specifically in the drop_head_tail function: def drop_h 阅读全文
摘要:
Looking at the code, I can help clarify the model saving and inference setup: Model Saving: Yes, the model is saved at every epoch in the train() meth 阅读全文
摘要:
数据的处理 Let's look at how the padding is added in the batch_preprocess method: # First find max length in current batch max_length = max(src_length) # F 阅读全文
摘要:
关于数据的模式 Looking at the TrajectoryLoader class, yes - that's exactly how it handles different sequence lengths. Let me break down the sequence length h 阅读全文
摘要:
Based on the code shown, I'll explain the transformer aggregation strategy and what components should be aggregated in a federated learning setting. I 阅读全文
摘要:
The code uses both VAE and confidence modeling for trajectory embedding and anomaly detection. Here's how they work together: The Confidence Model: Ta 阅读全文