labml
1.0.0

ในการติดตั้ง MongoDB โปรดดูเอกสารอย่างเป็นทางการที่นี่
ติดตั้งแพ็คเกจโดยใช้ PIP:
pip install labml-app # Start the server on the default port (5005)
labml app-server
# To start the server on a different port, use the following command
labml app-server --port PORTตัวเลือก: ในการตั้งค่าและกำหนดค่า Nginx ในเซิร์ฟเวอร์ของคุณโปรดดูสิ่งนี้
คุณสามารถเข้าถึงอินเทอร์เฟซผู้ใช้ได้โดยการเยี่ยมชม http://localhost:{port} หรือหากกำหนดค่าบนเครื่องแยกต่างหากโดยนำทางไปยัง http://{server-ip}:{port}
pip install labml.labml.yaml ที่ระดับบนสุดของโฟลเดอร์โครงการของคุณและเพิ่มบรรทัดต่อไปนี้ในไฟล์: app_url : http://localhost:{port}/api/v1/default
# If you are setting up the project on a different machine, include the following line instead,
app_url : http://{server-ip}:{port}/api/v1/default from labml import tracker , experiment
with experiment . record ( name = 'sample' , exp_conf = conf ):
for i in range ( 50 ):
loss , accuracy = train ()
tracker . save ( i , { 'loss' : loss , 'accuracy' : accuracy }) from labml import tracker , experiment
uuid = experiment . generate_uuid () # make sure to sync this in every machine
experiment . create ( uuid = uuid ,
name = 'distributed training sample' ,
distributed_rank = 0 ,
distributed_world_size = 8 ,
)
with experiment . start ():
for i in range ( 50 ):
loss , accuracy = train ()
tracker . save ( i , { 'loss' : loss , 'accuracy' : accuracy }) # Install packages and dependencies
pip install labml psutil py3nvml
# Start monitoring
labml monitorหากคุณใช้ LABML สำหรับการวิจัยเชิงวิชาการโปรดอ้างอิงห้องสมุดโดยใช้รายการ BIBTEX ต่อไปนี้
@misc{labml,
author = {Varuna Jayasiri, Nipun Wijerathne, Adithya Narasinghe, Lakshith Nishshanke},
title = {labml.ai: A library to organize machine learning experiments},
year = {2020},
url = {https://labml.ai/},
}