|
122 | 122 | }, |
123 | 123 | { |
124 | 124 | "cell_type": "code", |
125 | | - "execution_count": null, |
| 125 | + "execution_count": 7, |
126 | 126 | "id": "794004c5-588c-4590-ae96-c6d9e52109ff", |
127 | 127 | "metadata": {}, |
128 | 128 | "outputs": [], |
|
295 | 295 | "GPU available: True (mps), used: True\n", |
296 | 296 | "TPU available: False, using: 0 TPU cores\n", |
297 | 297 | "IPU available: False, using: 0 IPUs\n", |
298 | | - "HPU available: False, using: 0 HPUs\n", |
299 | | - "Running in `fast_dev_run` mode: will run the requested loop using 10 batch(es). Logging and checkpointing is suppressed.\n" |
| 298 | + "HPU available: False, using: 0 HPUs\n" |
300 | 299 | ] |
301 | 300 | } |
302 | 301 | ], |
|
338 | 337 | "name": "stdout", |
339 | 338 | "output_type": "stream", |
340 | 339 | "text": [ |
341 | | - "Epoch 0: 100%|██████████| 10/10 [06:00<00:00, 0.03it/s, loss_step=242.0, val_loss_step=260.0, cindex_step=0.585, val_loss_epoch=260.0, cindex_epoch=0.579, loss_epoch=265.0]" |
| 340 | + "Epoch 1: 100%|██████████| 11/11 [02:19<00:00, 0.08it/s, loss_step=226.0, val_loss_step=257.0, cindex_step=0.672, val_loss_epoch=256.0, cindex_epoch=0.676, loss_epoch=234.0]" |
342 | 341 | ] |
343 | 342 | }, |
344 | 343 | { |
345 | 344 | "name": "stderr", |
346 | 345 | "output_type": "stream", |
347 | 346 | "text": [ |
348 | | - "`Trainer.fit` stopped: `max_steps=10` reached.\n" |
| 347 | + "`Trainer.fit` stopped: `max_epochs=2` reached.\n" |
349 | 348 | ] |
350 | 349 | }, |
351 | 350 | { |
352 | 351 | "name": "stdout", |
353 | 352 | "output_type": "stream", |
354 | 353 | "text": [ |
355 | | - "Epoch 0: 100%|██████████| 10/10 [06:00<00:00, 0.03it/s, loss_step=242.0, val_loss_step=260.0, cindex_step=0.585, val_loss_epoch=260.0, cindex_epoch=0.579, loss_epoch=265.0]\n" |
| 354 | + "Epoch 1: 100%|██████████| 11/11 [02:19<00:00, 0.08it/s, loss_step=226.0, val_loss_step=257.0, cindex_step=0.672, val_loss_epoch=256.0, cindex_epoch=0.676, loss_epoch=234.0]\n" |
356 | 355 | ] |
357 | 356 | } |
358 | 357 | ], |
|
371 | 370 | "name": "stdout", |
372 | 371 | "output_type": "stream", |
373 | 372 | "text": [ |
374 | | - "Testing DataLoader 0: 100%|██████████| 10/10 [03:09<00:00, 0.05it/s]\n", |
| 373 | + "Testing DataLoader 0: 100%|██████████| 20/20 [02:14<00:00, 0.15it/s]\n", |
375 | 374 | "────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\n", |
376 | 375 | " Test metric DataLoader 0\n", |
377 | 376 | "────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\n", |
378 | | - " cindex_epoch 0.5841928124427795\n", |
379 | | - " val_loss_epoch -90.17676544189453\n", |
| 377 | + " cindex_epoch 0.6842407584190369\n", |
| 378 | + " val_loss_epoch -70.17123413085938\n", |
380 | 379 | "────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\n" |
381 | 380 | ] |
382 | 381 | }, |
383 | 382 | { |
384 | 383 | "data": { |
385 | 384 | "text/plain": [ |
386 | | - "[{'val_loss_epoch': -90.17676544189453, 'cindex_epoch': 0.5841928124427795}]" |
| 385 | + "[{'val_loss_epoch': -70.17123413085938, 'cindex_epoch': 0.6842407584190369}]" |
387 | 386 | ] |
388 | 387 | }, |
389 | 388 | "execution_count": 15, |
|
439 | 438 | "TPU available: False, using: 0 TPU cores\n", |
440 | 439 | "IPU available: False, using: 0 IPUs\n", |
441 | 440 | "HPU available: False, using: 0 HPUs\n", |
442 | | - "Running in `fast_dev_run` mode: will run the requested loop using 10 batch(es). Logging and checkpointing is suppressed.\n", |
443 | 441 | "\n", |
444 | 442 | " | Name | Type | Params\n", |
445 | 443 | "-----------------------------------\n", |
|
455 | 453 | "name": "stdout", |
456 | 454 | "output_type": "stream", |
457 | 455 | "text": [ |
458 | | - "Epoch 0: 100%|██████████| 10/10 [01:27<00:00, 0.11it/s, loss_step=65.60, val_loss_step=67.00, cindex_step=0.524, val_loss_epoch=66.40, cindex_epoch=0.519, loss_epoch=52.70]" |
| 456 | + "Epoch 1: 100%|██████████| 110/110 [04:34<00:00, 0.40it/s, loss_step=60.70, val_loss_step=60.50, cindex_step=0.736, val_loss_epoch=59.90, cindex_epoch=0.805, loss_epoch=62.30]" |
459 | 457 | ] |
460 | 458 | }, |
461 | 459 | { |
462 | 460 | "name": "stderr", |
463 | 461 | "output_type": "stream", |
464 | 462 | "text": [ |
465 | | - "`Trainer.fit` stopped: `max_steps=10` reached.\n" |
| 463 | + "`Trainer.fit` stopped: `max_epochs=2` reached.\n" |
466 | 464 | ] |
467 | 465 | }, |
468 | 466 | { |
469 | 467 | "name": "stdout", |
470 | 468 | "output_type": "stream", |
471 | 469 | "text": [ |
472 | | - "Epoch 0: 100%|██████████| 10/10 [01:27<00:00, 0.11it/s, loss_step=65.60, val_loss_step=67.00, cindex_step=0.524, val_loss_epoch=66.40, cindex_epoch=0.519, loss_epoch=52.70]\n" |
| 470 | + "Epoch 1: 100%|██████████| 110/110 [04:34<00:00, 0.40it/s, loss_step=60.70, val_loss_step=60.50, cindex_step=0.736, val_loss_epoch=59.90, cindex_epoch=0.805, loss_epoch=62.30]\n" |
473 | 471 | ] |
474 | 472 | } |
475 | 473 | ], |
|
498 | 496 | "name": "stdout", |
499 | 497 | "output_type": "stream", |
500 | 498 | "text": [ |
501 | | - "Testing DataLoader 0: 100%|██████████| 10/10 [00:29<00:00, 0.34it/s]\n", |
| 499 | + "Testing DataLoader 0: 100%|██████████| 200/200 [04:26<00:00, 0.75it/s]\n", |
502 | 500 | "────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\n", |
503 | 501 | " Test metric DataLoader 0\n", |
504 | 502 | "────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\n", |
505 | | - " cindex_epoch 0.521008312702179\n", |
506 | | - " val_loss_epoch 66.2925796508789\n", |
| 503 | + " cindex_epoch 0.8023210763931274\n", |
| 504 | + " val_loss_epoch 91.81409454345703\n", |
507 | 505 | "────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\n" |
508 | 506 | ] |
509 | 507 | }, |
510 | 508 | { |
511 | 509 | "data": { |
512 | 510 | "text/plain": [ |
513 | | - "[{'val_loss_epoch': 66.2925796508789, 'cindex_epoch': 0.521008312702179}]" |
| 511 | + "[{'val_loss_epoch': 91.81409454345703, 'cindex_epoch': 0.8023210763931274}]" |
514 | 512 | ] |
515 | 513 | }, |
516 | 514 | "execution_count": 18, |
|
581 | 579 | "name": "stdout", |
582 | 580 | "output_type": "stream", |
583 | 581 | "text": [ |
584 | | - "Cindex (regular) = 0.5925866365432739\n", |
585 | | - "Cindex (momentum) = 0.5304314494132996\n", |
586 | | - "Compare (p-value) = 0.9395550489425659\n" |
| 582 | + "Cindex (regular) = 0.7037245035171509\n", |
| 583 | + "Cindex (momentum) = 0.7813159823417664\n", |
| 584 | + "Compare (p-value) = 0.0004994003102183342\n" |
587 | 585 | ] |
588 | 586 | } |
589 | 587 | ], |
|
0 commit comments