Skip to content

Update requirements.txt #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 40 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
28e6237
Update requirements.txt
golphy-yy Oct 31, 2024
423a6db
training weight porto-20200_TrajCL_best.pt
golphy-yy Nov 6, 2024
4472083
Update train_trajsimi.py
golphy-yy Nov 12, 2024
2aab2c5
Update trajsimi.py
golphy-yy Nov 12, 2024
ae00407
Update train_trajsimi.py
golphy-yy Nov 12, 2024
350ef6d
Update train_trajsimi.py
golphy-yy Nov 12, 2024
2b25d83
Update train_trajsimi.py
golphy-yy Nov 12, 2024
7fadf04
Update preprocessing_porto.py
golphy-yy Jan 10, 2025
f041495
Update preprocessing_porto.py
golphy-yy Jan 10, 2025
ceeaf60
Update preprocessing_porto.py
golphy-yy Jan 10, 2025
edae4d5
Update train.py
golphy-yy Jan 11, 2025
7fb9e37
Preprocessing_Bangkok
golphy-yy Jan 11, 2025
9ea3ea7
Add files via upload
golphy-yy Jan 11, 2025
c620e23
Update preprocessing_porto_edited.py
golphy-yy Jan 11, 2025
934cbe3
Add files via upload
golphy-yy Jan 12, 2025
8f5e9dc
Update preprocessing_porto_edited.py
golphy-yy Jan 12, 2025
92509fc
Update preprocessing_porto_edited.py
golphy-yy Jan 13, 2025
7044a74
Update preprocessing_porto_edited.py
golphy-yy Jan 13, 2025
9aebc84
Update preprocessing_porto_edited.py
golphy-yy Jan 13, 2025
3bfee54
Update preprocessing_porto_edited.py
golphy-yy Jan 13, 2025
9a83b7f
Update data_loader.py
golphy-yy Jan 17, 2025
df19694
Update preprocessing_porto_edited.py
golphy-yy Jan 17, 2025
b0cc180
Update preprocessing_porto_edited.py
golphy-yy Jan 17, 2025
bfb8a45
Update preprocessing_porto_edited.py
golphy-yy Jan 17, 2025
4970212
Update preprocessing_porto_edited.py
golphy-yy Jan 17, 2025
cff8a24
Update preprocessing_porto_edited.py
golphy-yy Jan 17, 2025
8a2e9e5
Update preprocessing_porto_edited.py
golphy-yy Jan 17, 2025
1d71096
Update config.py
golphy-yy Jan 20, 2025
1017480
Update train_trajsimi.py
golphy-yy Jan 24, 2025
6d3c3d0
Update config.py
golphy-yy Jan 31, 2025
473d584
Update preprocessing_porto_edited.py
golphy-yy Feb 10, 2025
7c95c00
Update and rename preprocessing_porto_edited.py to preprocessing_bang…
golphy-yy Feb 12, 2025
e3b97b3
Update data_loader.py
golphy-yy Feb 12, 2025
03a4d2c
Update preprocessing_bangkok_edited.py
golphy-yy Feb 12, 2025
b06660a
Update preprocessing_bangkok_edited.py
golphy-yy Feb 12, 2025
84c4bfd
Update data_loader.py
golphy-yy Feb 25, 2025
b60a14a
edit for Bangkok by golphy 2/28/25
golphy-yy Feb 28, 2025
ad65c0a
Update trajsimi.py
golphy-yy Mar 15, 2025
bf41cc0
Update train_trajsimi.py
golphy-yy Mar 15, 2025
059099f
makkasan Update config.py
golphy-yy Apr 25, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update preprocessing_porto_edited.py
  • Loading branch information
golphy-yy authored Jan 17, 2025
commit b0cc180e25d26f3e44fe04026b9d3fb22eb36ea5
4 changes: 3 additions & 1 deletion preprocessing_porto_edited.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ def clean_and_output_data():
# download train.csv.zip and unzip it. rename train.csv to porto.csv
# 2. โหลดข้อมูลจากไฟล์ CSV
dfraw = pd.read_csv(Config.root_dir + '/data/porto.csv')
dfraw = dfraw[:100]
print('1')
dfraw = dfraw[:100] #delete this
dfraw = dfraw.rename(columns = {"POLYLINE": "wgs_seq"}) # เปลี่ยนชื่อคอลัมน์ "POLYLINE" เป็น "wgs_seq"

dfraw = dfraw[dfraw.MISSING_DATA == False]
Expand Down Expand Up @@ -88,6 +89,7 @@ def clean_and_output_data():
dfraw = dfraw[['trajlen', 'wgs_seq', 'merc_seq']].reset_index(drop = True)

dfraw.to_pickle(Config.dataset_file)
print('Exported')
logging.info('Preprocess end. @={:.0f}'.format(time.time() - _time))
return

Expand Down