vshallc / PtrNets

Pointer Networks
102 stars 30 forks source link

how much time it takes? #5

Open SeekPoint opened 7 years ago

SeekPoint commented 7 years ago

I had TSP & CONVEX task run on intel i5820 about 10 days, it not done yet

rzai@rzai00:~/prj/PtrNets/pointer$ python ptrnets.py convex_hull ch.pkl.gz . usage: ptrnets.py [-h] [-d DIM] [-b BATCH] [-l LRATE] [-e EPOCHS] [-p PATIENCE] [-o {sgd,rmsprop,adadelta}] [-r RELOAD] [--dispf DISPF] [--validf VALIDF] [--savef SAVEF] {ch,tsp} datapath saveto ptrnets.py: error: argument task: invalid choice: 'convex_hull' (choose from 'ch', 'tsp') rzai@rzai00:~/prj/PtrNets/pointer$ python ptrnets.py ch ch.pkl.gz . Loading data Building model Optimization 1048576 train examples 1000 valid examples 1000 test examples Epoch 0 Update 128 Cost 3.09789657719 Epoch 0 Update 256 Cost 3.11406439113 Epoch 0 Update 384 Cost 3.24737764757 Epoch 0 Update 512 Cost 3.1143082409 ('Valid ', 1.0, 0.0, 0.0, 'Test ', 1.0, 0.0, 0.0) Epoch 0 Update 640 Cost 3.15276181809 Epoch 0 Update 768 Cost 3.15102683098 Epoch 0 Update 896 Cost 3.13146205933 Epoch 0 Update 1024 Cost 3.09387125727 ('Valid ', 1.0, 0.0, 0.0, 'Test ', 1.0, 0.0, 0.0) Epoch 0 Update 1152 Cost 3.08282662609 Epoch 0 Update 1280 Cost 3.20387233827 Epoch 0 Update 1408 Cost 3.18934095275 ...................... Epoch 3 Update 32640 Cost 0.478815287493 Epoch 3 Update 32768 Cost 0.479545113966 Saving... Done Self-intersection at or near point 0.19533712183593516 0.19661340991502374 Self-intersection at or near point 0.14265302347840997 0.35843011780323109 Self-intersection at or near point 0.076688656080668757 0.052151624966389677 Self-intersection at or near point 0.022990660873747668 0.018722749962797904 Self-intersection at or near point 0.11505588293094236 0.0990881246835357 ('Valid ', 0.673, 0.904, 0.9916690616800652, 'Test ', 0.742, 0.965, 0.996698785332861) Seen 1048576 samples Epoch 4 Update 32896 Cost 0.461166283977 Epoch 4 Update 33024 Cost 0.477878740214 Epoch 4 Update 33152 Cost 0.466555027834 Epoch 4 Update 33280 Cost 0.461090497385 Self-intersection at or near point 0.14265302347840997 0.35843011780323109 Self-intersection at or near point 0.64342073114908982 0.40387905708710853 Self-intersection at or near point 0.054791550259847693 0.53993913359164847 ('Valid ', 0.6699999999999999, 0.748, 0.9942729646321645, 'Test ', 0.779, 0.797, 0.99738381962104) Epoch 4 Update 33408 Cost 0.447333765565 Epoch 4 Update 33536 Cost 0.472948120756

mokeam commented 5 years ago

Hi, how long did it take you?

SeekPoint commented 5 years ago

I had TSP & CONVEX task run on intel i5820 about 10 days, it not done yet

mokeam commented 5 years ago

Woow that's taking like forever. Did you find any other alternatives?

mokeam commented 5 years ago

Do you have any checkpoint you have saved from the training please?