1 Star 0 Fork 0

jy/back

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nohup.out 383.66 KB
一键复制 编辑 原始数据 按行查看 历史
jy 提交于 2024-06-16 13:42 . res
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255
* Serving Flask app 'serve'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:8000
* Running on http://172.17.0.6:8000
Press CTRL+C to quit
127.0.0.1 - - [01/Jun/2024 23:05:04] "OPTIONS /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
[2024-06-01 23:05:05,051] ERROR in app: Exception on /login [GET]
Traceback (most recent call last):
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/pymysql/connections.py", line 644, in connect
sock = socket.create_connection(
File "/root/miniconda3/envs/vmunet/lib/python3.8/socket.py", line 808, in create_connection
raise err
File "/root/miniconda3/envs/vmunet/lib/python3.8/socket.py", line 796, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 146, in __init__
self._dbapi_connection = engine.raw_connection()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 3300, in raw_connection
return self.pool.connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 449, in connect
return _ConnectionFairy._checkout(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
rec = pool._do_get()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/impl.py", line 180, in _do_get
self._dec_overflow()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
raise exc_value.with_traceback(exc_tb)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get
return self._create_connection()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
return _ConnectionRecord(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
self.__connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 901, in __connect
pool.logger.debug("Error on connect(): %s", e)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
raise exc_value.with_traceback(exc_tb)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
self.dbapi_connection = connection = pool._invoke_creator(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/create.py", line 643, in connect
return dialect.connect(*cargs, **cparams)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 620, in connect
return self.loaded_dbapi.connect(*cargs, **cparams)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/pymysql/connections.py", line 358, in __init__
self.connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/pymysql/connections.py", line 711, in connect
raise exc
pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on '127.0.0.1' ([Errno 111] Connection refused)")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask/app.py", line 1473, in wsgi_app
response = self.full_dispatch_request()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask/app.py", line 882, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask_cors/extension.py", line 178, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask/app.py", line 865, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "serve.py", line 277, in userlogin
search_result=User.query.filter(User.phone==phone,User.pswd==password).all()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 2673, in all
return self._iter().all() # type: ignore
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 2827, in _iter
result: Union[ScalarResult[_T], Result[_T]] = self.session.execute(
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 2351, in execute
return self._execute_internal(
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 2226, in _execute_internal
conn = self._connection_for_bind(bind)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 2095, in _connection_for_bind
return trans._connection_for_bind(engine, execution_options)
File "<string>", line 2, in _connection_for_bind
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/state_changes.py", line 139, in _go
ret_value = fn(self, *arg, **kw)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 1189, in _connection_for_bind
conn = bind.connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 3276, in connect
return self._connection_cls(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 148, in __init__
Connection._handle_dbapi_exception_noconnection(
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 2440, in _handle_dbapi_exception_noconnection
raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 146, in __init__
self._dbapi_connection = engine.raw_connection()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 3300, in raw_connection
return self.pool.connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 449, in connect
return _ConnectionFairy._checkout(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
rec = pool._do_get()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/impl.py", line 180, in _do_get
self._dec_overflow()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
raise exc_value.with_traceback(exc_tb)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get
return self._create_connection()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
return _ConnectionRecord(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
self.__connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 901, in __connect
pool.logger.debug("Error on connect(): %s", e)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
raise exc_value.with_traceback(exc_tb)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
self.dbapi_connection = connection = pool._invoke_creator(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/create.py", line 643, in connect
return dialect.connect(*cargs, **cparams)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 620, in connect
return self.loaded_dbapi.connect(*cargs, **cparams)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/pymysql/connections.py", line 358, in __init__
self.connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/pymysql/connections.py", line 711, in connect
raise exc
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '127.0.0.1' ([Errno 111] Connection refused)")
(Background on this error at: https://sqlalche.me/e/20/e3q8)
127.0.0.1 - - [01/Jun/2024 23:05:05] "GET /login?phone=15592228631&password=jy2051914 HTTP/1.1" 500 -
[2024-06-01 23:05:07,547] ERROR in app: Exception on /login [GET]
Traceback (most recent call last):
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/pymysql/connections.py", line 644, in connect
sock = socket.create_connection(
File "/root/miniconda3/envs/vmunet/lib/python3.8/socket.py", line 808, in create_connection
raise err
File "/root/miniconda3/envs/vmunet/lib/python3.8/socket.py", line 796, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 146, in __init__
self._dbapi_connection = engine.raw_connection()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 3300, in raw_connection
return self.pool.connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 449, in connect
return _ConnectionFairy._checkout(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
rec = pool._do_get()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/impl.py", line 180, in _do_get
self._dec_overflow()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
raise exc_value.with_traceback(exc_tb)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get
return self._create_connection()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
return _ConnectionRecord(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
self.__connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 901, in __connect
pool.logger.debug("Error on connect(): %s", e)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
raise exc_value.with_traceback(exc_tb)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
self.dbapi_connection = connection = pool._invoke_creator(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/create.py", line 643, in connect
return dialect.connect(*cargs, **cparams)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 620, in connect
return self.loaded_dbapi.connect(*cargs, **cparams)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/pymysql/connections.py", line 358, in __init__
self.connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/pymysql/connections.py", line 711, in connect
raise exc
pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on '127.0.0.1' ([Errno 111] Connection refused)")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask/app.py", line 1473, in wsgi_app
response = self.full_dispatch_request()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask/app.py", line 882, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask_cors/extension.py", line 178, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask/app.py", line 865, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "serve.py", line 277, in userlogin
search_result=User.query.filter(User.phone==phone,User.pswd==password).all()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 2673, in all
return self._iter().all() # type: ignore
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 2827, in _iter
result: Union[ScalarResult[_T], Result[_T]] = self.session.execute(
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 2351, in execute
return self._execute_internal(
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 2226, in _execute_internal
conn = self._connection_for_bind(bind)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 2095, in _connection_for_bind
return trans._connection_for_bind(engine, execution_options)
File "<string>", line 2, in _connection_for_bind
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/state_changes.py", line 139, in _go
ret_value = fn(self, *arg, **kw)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 1189, in _connection_for_bind
conn = bind.connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 3276, in connect
return self._connection_cls(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 148, in __init__
Connection._handle_dbapi_exception_noconnection(
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 2440, in _handle_dbapi_exception_noconnection
raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 146, in __init__
self._dbapi_connection = engine.raw_connection()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 3300, in raw_connection
return self.pool.connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 449, in connect
return _ConnectionFairy._checkout(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
rec = pool._do_get()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/impl.py", line 180, in _do_get
self._dec_overflow()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
raise exc_value.with_traceback(exc_tb)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get
return self._create_connection()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
return _ConnectionRecord(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
self.__connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 901, in __connect
pool.logger.debug("Error on connect(): %s", e)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
raise exc_value.with_traceback(exc_tb)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
self.dbapi_connection = connection = pool._invoke_creator(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/create.py", line 643, in connect
return dialect.connect(*cargs, **cparams)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 620, in connect
return self.loaded_dbapi.connect(*cargs, **cparams)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/pymysql/connections.py", line 358, in __init__
self.connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/pymysql/connections.py", line 711, in connect
raise exc
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '127.0.0.1' ([Errno 111] Connection refused)")
(Background on this error at: https://sqlalche.me/e/20/e3q8)
127.0.0.1 - - [01/Jun/2024 23:05:07] "GET /login?phone=15592228631&password=jy2051914 HTTP/1.1" 500 -
* Serving Flask app 'serve'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:8000
* Running on http://172.17.0.6:8000
Press CTRL+C to quit
127.0.0.1 - - [01/Jun/2024 23:07:29] "OPTIONS /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
login
2024-06-01 23:07:30,210 INFO sqlalchemy.engine.Engine SELECT DATABASE()
2024-06-01 23:07:30,211 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-01 23:07:30,212 INFO sqlalchemy.engine.Engine SELECT @@sql_mode
2024-06-01 23:07:30,213 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-01 23:07:30,213 INFO sqlalchemy.engine.Engine SELECT @@lower_case_table_names
2024-06-01 23:07:30,214 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-01 23:07:30,215 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-01 23:07:30,219 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-01 23:07:30,219 INFO sqlalchemy.engine.Engine [generated in 0.00029s] {'phone_1': '15592228631', 'pswd_1': 'jy2051914'}
2024-06-01 23:07:30,233 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [01/Jun/2024 23:07:30] "GET /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2024 23:07:30] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-01 23:07:31,171 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-01 23:07:31,175 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-01 23:07:31,175 INFO sqlalchemy.engine.Engine [generated in 0.00056s] {'param_1': 1}
2024-06-01 23:07:31,180 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [01/Jun/2024 23:07:31] "GET /getGlobal HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2024 23:08:28] "OPTIONS /uploadData HTTP/1.1" 200 -
uploadData
2024-06-01
2024-06-01 23:08:32,637 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-01 23:08:32,642 INFO sqlalchemy.engine.Engine INSERT INTO `datasetRecord` (upload_time, data_link, data_type, user_id, train_type, data_folder) VALUES (%(upload_time)s, %(data_link)s, %(data_type)s, %(user_id)s, %(train_type)s, %(data_folder)s)
2024-06-01 23:08:32,642 INFO sqlalchemy.engine.Engine [generated in 0.00058s] {'upload_time': datetime.datetime(2024, 6, 1, 23, 8, 32, 636036), 'data_link': None, 'data_type': 'classification', 'user_id': 1, 'train_type': 0, 'data_folder': '2024-06-01'}
2024-06-01 23:08:32,647 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [01/Jun/2024 23:08:32] "POST /uploadData HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2024 23:10:39] "OPTIONS /uploadData HTTP/1.1" 200 -
uploadData
2024-06-01
2024-06-01 23:10:41,182 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-01 23:10:41,184 INFO sqlalchemy.engine.Engine INSERT INTO `datasetRecord` (upload_time, data_link, data_type, user_id, train_type, data_folder) VALUES (%(upload_time)s, %(data_link)s, %(data_type)s, %(user_id)s, %(train_type)s, %(data_folder)s)
2024-06-01 23:10:41,184 INFO sqlalchemy.engine.Engine [cached since 128.5s ago] {'upload_time': datetime.datetime(2024, 6, 1, 23, 10, 41, 178714), 'data_link': None, 'data_type': 'segmentation', 'user_id': 1, 'train_type': 0, 'data_folder': '2024-06-01'}
2024-06-01 23:10:41,187 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [01/Jun/2024 23:10:41] "POST /uploadData HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2024 23:10:44] "OPTIONS /getDataset HTTP/1.1" 200 -
get_dataset
2024-06-01 23:10:45,053 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-01 23:10:45,058 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.user_id = %(user_id_1)s
2024-06-01 23:10:45,059 INFO sqlalchemy.engine.Engine [generated in 0.00076s] {'user_id_1': 1}
2024-06-01 23:10:45,062 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [01/Jun/2024 23:10:45] "GET /getDataset HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2024 23:11:30] "OPTIONS /getDataset HTTP/1.1" 200 -
get_dataset
2024-06-01 23:11:30,843 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-01 23:11:30,844 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.user_id = %(user_id_1)s
2024-06-01 23:11:30,845 INFO sqlalchemy.engine.Engine [cached since 45.79s ago] {'user_id_1': 1}
2024-06-01 23:11:30,848 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [01/Jun/2024 23:11:30] "GET /getDataset HTTP/1.1" 200 -
changeDataset
2024-06-01 23:12:00,054 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-01 23:12:00,057 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.data_folder = %(data_folder_1)s
2024-06-01 23:12:00,057 INFO sqlalchemy.engine.Engine [generated in 0.00048s] {'data_folder_1': '2024-06-01'}
2024-06-01 23:12:00,064 INFO sqlalchemy.engine.Engine UPDATE `datasetRecord` SET train_type=%(train_type)s WHERE `datasetRecord`.id = %(datasetRecord_id)s
2024-06-01 23:12:00,064 INFO sqlalchemy.engine.Engine [generated in 0.00053s] [{'train_type': '1', 'datasetRecord_id': 1}, {'train_type': '1', 'datasetRecord_id': 2}]
2024-06-01 23:12:00,066 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [01/Jun/2024 23:12:00] "GET /changeDataset?data_folder=2024-06-01&train_type=1 HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2024 23:12:06] "OPTIONS /getDataset HTTP/1.1" 200 -
get_dataset
2024-06-01 23:12:07,092 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-01 23:12:07,093 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.user_id = %(user_id_1)s
2024-06-01 23:12:07,093 INFO sqlalchemy.engine.Engine [cached since 82.04s ago] {'user_id_1': 1}
2024-06-01 23:12:07,096 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [01/Jun/2024 23:12:07] "GET /getDataset HTTP/1.1" 200 -
changeDataset
2024-06-01 23:13:00,333 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-01 23:13:00,334 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.data_folder = %(data_folder_1)s
2024-06-01 23:13:00,334 INFO sqlalchemy.engine.Engine [cached since 60.28s ago] {'data_folder_1': '2024-06-01'}
2024-06-01 23:13:00,337 INFO sqlalchemy.engine.Engine UPDATE `datasetRecord` SET train_type=%(train_type)s WHERE `datasetRecord`.id = %(datasetRecord_id)s
2024-06-01 23:13:00,338 INFO sqlalchemy.engine.Engine [cached since 60.27s ago] [{'train_type': '2', 'datasetRecord_id': 1}, {'train_type': '2', 'datasetRecord_id': 2}]
2024-06-01 23:13:00,340 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [01/Jun/2024 23:13:00] "GET /changeDataset?data_folder=2024-06-01&train_type=2 HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2024 23:13:38] "OPTIONS /getDataset HTTP/1.1" 200 -
get_dataset
2024-06-01 23:13:39,166 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-01 23:13:39,167 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.user_id = %(user_id_1)s
2024-06-01 23:13:39,167 INFO sqlalchemy.engine.Engine [cached since 174.1s ago] {'user_id_1': 1}
2024-06-01 23:13:39,170 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [01/Jun/2024 23:13:39] "GET /getDataset HTTP/1.1" 200 -
* Serving Flask app 'serve'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:8000
* Running on http://172.17.0.6:8000
Press CTRL+C to quit
login
2024-06-01 23:20:09,918 INFO sqlalchemy.engine.Engine SELECT DATABASE()
2024-06-01 23:20:09,918 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-01 23:20:09,920 INFO sqlalchemy.engine.Engine SELECT @@sql_mode
2024-06-01 23:20:09,920 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-01 23:20:09,921 INFO sqlalchemy.engine.Engine SELECT @@lower_case_table_names
2024-06-01 23:20:09,921 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-01 23:20:09,923 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-01 23:20:09,927 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-01 23:20:09,927 INFO sqlalchemy.engine.Engine [generated in 0.00036s] {'phone_1': '15592228631', 'pswd_1': 'jy2051914'}
2024-06-01 23:20:09,931 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [01/Jun/2024 23:20:09] "GET /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2024 23:20:10] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-01 23:20:10,918 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-01 23:20:10,923 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-01 23:20:10,923 INFO sqlalchemy.engine.Engine [generated in 0.00074s] {'param_1': 1}
2024-06-01 23:20:10,927 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [01/Jun/2024 23:20:10] "GET /getGlobal HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2024 23:20:25] "OPTIONS /uploadData HTTP/1.1" 200 -
uploadData
2024-06-01
2024-06-01 23:20:29,627 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-01 23:20:29,631 INFO sqlalchemy.engine.Engine INSERT INTO `datasetRecord` (upload_time, data_link, data_type, user_id, train_type, data_folder) VALUES (%(upload_time)s, %(data_link)s, %(data_type)s, %(user_id)s, %(train_type)s, %(data_folder)s)
2024-06-01 23:20:29,632 INFO sqlalchemy.engine.Engine [generated in 0.00065s] {'upload_time': datetime.datetime(2024, 6, 1, 23, 20, 29, 625580), 'data_link': None, 'data_type': 'classification', 'user_id': 1, 'train_type': 0, 'data_folder': '2024-06-01'}
2024-06-01 23:20:29,635 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [01/Jun/2024 23:20:29] "POST /uploadData HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2024 23:20:44] "OPTIONS /uploadData HTTP/1.1" 200 -
uploadData
2024-06-01
2024-06-01 23:20:46,005 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-01 23:20:46,006 INFO sqlalchemy.engine.Engine INSERT INTO `datasetRecord` (upload_time, data_link, data_type, user_id, train_type, data_folder) VALUES (%(upload_time)s, %(data_link)s, %(data_type)s, %(user_id)s, %(train_type)s, %(data_folder)s)
2024-06-01 23:20:46,006 INFO sqlalchemy.engine.Engine [cached since 16.37s ago] {'upload_time': datetime.datetime(2024, 6, 1, 23, 20, 46, 3960), 'data_link': None, 'data_type': 'segmentation', 'user_id': 1, 'train_type': 0, 'data_folder': '2024-06-01'}
2024-06-01 23:20:46,008 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [01/Jun/2024 23:20:46] "POST /uploadData HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2024 23:21:50] "OPTIONS /getDataset HTTP/1.1" 200 -
get_dataset
2024-06-01 23:21:50,256 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-01 23:21:50,260 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.user_id = %(user_id_1)s
2024-06-01 23:21:50,261 INFO sqlalchemy.engine.Engine [generated in 0.00056s] {'user_id_1': 1}
2024-06-01 23:21:50,265 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [01/Jun/2024 23:21:50] "GET /getDataset HTTP/1.1" 200 -
changeDataset
2024-06-01 23:22:00,099 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-01 23:22:00,102 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.data_folder = %(data_folder_1)s
2024-06-01 23:22:00,102 INFO sqlalchemy.engine.Engine [generated in 0.00061s] {'data_folder_1': '2024-06-01'}
2024-06-01 23:22:00,108 INFO sqlalchemy.engine.Engine UPDATE `datasetRecord` SET train_type=%(train_type)s WHERE `datasetRecord`.id = %(datasetRecord_id)s
2024-06-01 23:22:00,108 INFO sqlalchemy.engine.Engine [generated in 0.00044s] [{'train_type': '1', 'datasetRecord_id': 1}, {'train_type': '1', 'datasetRecord_id': 2}, {'train_type': '1', 'datasetRecord_id': 3}, {'train_type': '1', 'datasetRecord_id': 4}]
2024-06-01 23:22:00,112 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [01/Jun/2024 23:22:00] "GET /changeDataset?data_folder=2024-06-01&train_type=1 HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2024 23:22:04] "OPTIONS /getDataset HTTP/1.1" 200 -
get_dataset
2024-06-01 23:22:04,902 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-01 23:22:04,903 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.user_id = %(user_id_1)s
2024-06-01 23:22:04,903 INFO sqlalchemy.engine.Engine [cached since 14.64s ago] {'user_id_1': 1}
2024-06-01 23:22:04,907 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [01/Jun/2024 23:22:04] "GET /getDataset HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2024 23:29:39] "OPTIONS /getDataset HTTP/1.1" 200 -
get_dataset
2024-06-01 23:29:39,225 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-01 23:29:39,226 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.user_id = %(user_id_1)s
2024-06-01 23:29:39,226 INFO sqlalchemy.engine.Engine [cached since 469s ago] {'user_id_1': 1}
2024-06-01 23:29:39,231 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [01/Jun/2024 23:29:39] "GET /getDataset HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2024 23:34:10] "GET /static/origin_pic/ HTTP/1.1" 404 -
127.0.0.1 - - [01/Jun/2024 23:34:10] "OPTIONS /getAllHistory HTTP/1.1" 200 -
get_Allhistory
2024-06-01 23:34:10,727 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-01 23:34:10,735 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.user_id = %(user_id_1)s
2024-06-01 23:34:10,736 INFO sqlalchemy.engine.Engine [generated in 0.00097s] {'user_id_1': 1}
2024-06-01 23:34:10,754 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [01/Jun/2024 23:34:10] "GET /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2024 23:34:12] "OPTIONS /getHistory?id=1 HTTP/1.1" 200 -
getHistory
2024-06-01 23:34:12,235 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-01 23:34:12,238 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-01 23:34:12,239 INFO sqlalchemy.engine.Engine [generated in 0.00065s] {'id_1': '1'}
2024-06-01 23:34:12,243 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [01/Jun/2024 23:34:12] "GET /getHistory?id=1 HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2024 23:34:12] "GET /static/label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2024 23:34:12] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2024 23:34:12] "GET /static/real_label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [01/Jun/2024 23:34:12] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [01/Jun/2024 23:34:25] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-01 23:34:26,042 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-01 23:34:26,043 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-01 23:34:26,043 INFO sqlalchemy.engine.Engine [cached since 855.1s ago] {'param_1': 1}
2024-06-01 23:34:26,047 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [01/Jun/2024 23:34:26] "GET /getGlobal HTTP/1.1" 200 -
* Serving Flask app 'serve'
* Debug mode: off
Address already in use
Port 8000 is in use by another program. Either identify and stop that program, or start the server with a different port.
127.0.0.1 - - [02/Jun/2024 00:21:53] "OPTIONS /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
login
2024-06-02 00:21:53,919 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-02 00:21:53,920 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-02 00:21:53,921 INFO sqlalchemy.engine.Engine [cached since 3704s ago] {'phone_1': '15592228631', 'pswd_1': 'jy2051914'}
2024-06-02 00:21:53,928 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [02/Jun/2024 00:21:53] "GET /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 00:21:54] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-02 00:21:54,599 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-02 00:21:54,600 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-02 00:21:54,601 INFO sqlalchemy.engine.Engine [cached since 3704s ago] {'param_1': 1}
2024-06-02 00:21:54,605 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [02/Jun/2024 00:21:54] "GET /getGlobal HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 00:22:05] "OPTIONS /imgUpload HTTP/1.1" 200 -
/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.
warnings.warn(
/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=None`.
warnings.warn(msg)
/autodl-fs/data/back/predict/nets/model_ra.py:64: UserWarning: Implicit dimension choice for log_softmax has been deprecated. Change the call to include dim=X as an argument.
return F.log_softmax(x)
127.0.0.1 - - [02/Jun/2024 00:22:14] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 00:22:14] "GET /static/label/007-1894-100.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 00:22:14] "GET /static/real_label/007-1894-100.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 00:22:31] "OPTIONS /imgUpload HTTP/1.1" 200 -
2024-06-02 00:22:37.396058869 [W:onnxruntime:, transformer_memcpy.cc:74 ApplyImpl] 3 Memcpy nodes are added to the graph main_graph for CUDAExecutionProvider. It might have negative impact on performance (including unable to run CUDA graph). Set session_options.log_severity_level=1 to see the detail logs before this message.
2024-06-02 00:22:37.405434964 [W:onnxruntime:, session_state.cc:1166 VerifyEachNodeIsAssignedToAnEp] Some nodes were not assigned to the preferred execution providers which may or may not have an negative impact on performance. e.g. ORT explicitly assigns shape related ops to CPU to improve perf.
2024-06-02 00:22:37.405779185 [W:onnxruntime:, session_state.cc:1168 VerifyEachNodeIsAssignedToAnEp] Rerunning with verbose output on a non-minimal build will show node assignments.
127.0.0.1 - - [02/Jun/2024 00:22:44] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 00:22:44] "GET /static/label/007-2110-100.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 00:22:44] "GET /static/real_label/007-2110-100.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 00:23:01] "OPTIONS /imgUpload HTTP/1.1" 200 -
[06/02/2024-00:23:03] [TRT] [W] Using an engine plan file across different models of devices is not recommended and is likely to affect performance or even cause errors.
[06/02/2024-00:23:03] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
[06/02/2024-00:23:04] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
127.0.0.1 - - [02/Jun/2024 00:23:07] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 00:23:07] "GET /static/label/007-6926-400.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 00:23:07] "GET /static/real_label/007-6926-400.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 00:23:37] "OPTIONS /imgUpload HTTP/1.1" 200 -
[06/02/2024-00:23:37] [TRT] [W] Using an engine plan file across different models of devices is not recommended and is likely to affect performance or even cause errors.
[06/02/2024-00:23:38] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
[06/02/2024-00:23:38] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
127.0.0.1 - - [02/Jun/2024 00:23:42] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 00:23:42] "GET /static/real_label/20170523093010553.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 00:23:42] "GET /static/label/20170523093010553.png HTTP/1.1" 200 -
* Serving Flask app 'serve'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:8000
* Running on http://172.17.0.5:8000
Press CTRL+C to quit
127.0.0.1 - - [02/Jun/2024 22:50:57] "OPTIONS /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
login
2024-06-02 22:50:57,409 INFO sqlalchemy.engine.Engine SELECT DATABASE()
2024-06-02 22:50:57,410 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-02 22:50:57,412 INFO sqlalchemy.engine.Engine SELECT @@sql_mode
2024-06-02 22:50:57,412 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-02 22:50:57,414 INFO sqlalchemy.engine.Engine SELECT @@lower_case_table_names
2024-06-02 22:50:57,414 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-02 22:50:57,416 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-02 22:50:57,419 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-02 22:50:57,419 INFO sqlalchemy.engine.Engine [generated in 0.00027s] {'phone_1': '15592228631', 'pswd_1': 'jy2051914'}
2024-06-02 22:50:57,435 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [02/Jun/2024 22:50:57] "GET /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:50:58] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-02 22:50:58,342 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-02 22:50:58,346 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-02 22:50:58,347 INFO sqlalchemy.engine.Engine [generated in 0.00053s] {'param_1': 1}
2024-06-02 22:50:58,353 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [02/Jun/2024 22:50:58] "GET /getGlobal HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:51:14] "OPTIONS /imgUpload HTTP/1.1" 200 -
/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/torch/functional.py:512: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3587.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
127.0.0.1 - - [02/Jun/2024 22:51:22] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:51:22] "GET /static/label/007-6130-300.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:51:22] "GET /static/real_label/007-6130-300.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:53:29] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:53:34] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:53:34] "GET /static/label/20170616125321132.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:53:34] "GET /static/real_label/20170616125321132.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:53:59] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:54:06] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:54:06] "GET /static/label/007-6894-400.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:54:06] "GET /static/real_label/007-6894-400.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:54:28] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:54:34] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:54:35] "GET /static/real_label/007-6475-400.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:54:35] "GET /static/label/007-6475-400.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:56:13] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:56:19] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:56:19] "GET /static/real_label/20170616125321132.png HTTP/1.1" 304 -
127.0.0.1 - - [02/Jun/2024 22:56:19] "GET /static/label/20170616125321132.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:56:33] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:56:39] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:56:39] "GET /static/label/20170523093010553.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:56:39] "GET /static/real_label/20170523093010553.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:56:55] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:57:00] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:57:00] "GET /static/label/007-7236-400.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:57:00] "GET /static/real_label/007-7236-400.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:57:20] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:57:24] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:57:24] "GET /static/label/007-3939-200.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:57:24] "GET /static/real_label/007-3939-200.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 22:59:56] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:00:03] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:00:03] "GET /static/label/007-6107-300.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:00:03] "GET /static/real_label/007-6107-300.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:00:34] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:00:40] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:00:40] "GET /static/real_label/007-4433-200.png HTTP/1.1" 404 -
127.0.0.1 - - [02/Jun/2024 23:00:40] "GET /static/label/007-4433-200.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:01:06] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:01:15] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:01:15] "GET /static/label/007-4847-300.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:01:15] "GET /static/real_label/007-4847-300.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:01:30] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:01:35] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:01:35] "GET /static/label/007-6674-400.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:01:35] "GET /static/real_label/007-6674-400.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:02:39] "OPTIONS /getDataset HTTP/1.1" 200 -
image upload
0
/root/autodl-fs/logs/5-31/best_epoch_weights.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/logs/5-31/best_epoch_weights.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[4.5769438e-01 1.0623157e-01 4.0349603e-01 2.3641935e-02 8.9235883e-03
1.2439375e-05]
[0.21882118 0.15397528 0.20727709 0.14176948 0.13969815 0.13845883]
{'label': '无明显病变', 'probability': 0.218821182847023, 'text': '无病变或正常视网膜表现。,建议进行定期眼睛检查以监测视网膜健康状况,并保持良好的眼睛卫生和健康生活方式。'}
{'label': '无明显病变', 'probability': 0.218821182847023, 'text': '无病变或正常视网膜表现。,建议进行定期眼睛检查以监测视网膜健康状况,并保持良好的眼睛卫生和健康生活方式。', 'filename': '007-6130-300.png'}
image upload
0
/root/autodl-fs/logs/5-31/best_epoch_weights.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/logs/5-31/best_epoch_weights.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[9.3154651e-01 1.7900089e-02 4.9050406e-02 6.7083759e-04 7.7727024e-04
5.4856722e-05]
[0.33364114 0.13380983 0.13804366 0.13152413 0.13153812 0.13144314]
{'label': '无明显病变', 'probability': 0.3336411416530609, 'text': '无病变或正常视网膜表现。,建议进行定期眼睛检查以监测视网膜健康状况,并保持良好的眼睛卫生和健康生活方式。'}
{'label': '无明显病变', 'probability': 0.3336411416530609, 'text': '无病变或正常视网膜表现。,建议进行定期眼睛检查以监测视网膜健康状况,并保持良好的眼睛卫生和健康生活方式。', 'filename': '20170616125321132.png'}
image upload
0
/root/autodl-fs/logs/5-31/best_epoch_weights.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/logs/5-31/best_epoch_weights.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[9.3819952e-04 2.0341962e-03 9.6162677e-02 2.5063321e-01 6.5022677e-01
4.8800498e-06]
[0.13702606 0.13717632 0.15071574 0.1758913 0.26229233 0.13689822]
{'label': '增殖期', 'probability': 0.2622923254966736, 'text': '晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。'}
{'label': '增殖期', 'probability': 0.2622923254966736, 'text': '晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。', 'filename': '007-6894-400.png'}
image upload
0
/root/autodl-fs/logs/5-31/best_epoch_weights.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/logs/5-31/best_epoch_weights.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[3.3285511e-03 5.1911469e-03 2.1881202e-01 2.5676733e-01 5.1589245e-01
8.5246984e-06]
[0.1389463 0.13920532 0.17235751 0.17902513 0.23198004 0.13848574]
{'label': '增殖期', 'probability': 0.23198004066944122, 'text': '晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。'}
{'label': '增殖期', 'probability': 0.23198004066944122, 'text': '晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。', 'filename': '007-6475-400.png'}
image upload
0
/root/autodl-fs/logs/5-31/best_epoch_weights.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/logs/5-31/best_epoch_weights.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[9.3154651e-01 1.7900089e-02 4.9050406e-02 6.7083759e-04 7.7727024e-04
5.4856722e-05]
[0.33364114 0.13380983 0.13804366 0.13152413 0.13153812 0.13144314]
{'label': '无明显病变', 'probability': 0.3336411416530609, 'text': '无病变或正常视网膜表现。,建议进行定期眼睛检查以监测视网膜健康状况,并保持良好的眼睛卫生和健康生活方式。'}
{'label': '无明显病变', 'probability': 0.3336411416530609, 'text': '无病变或正常视网膜表现。,建议进行定期眼睛检查以监测视网膜健康状况,并保持良好的眼睛卫生和健康生活方式。', 'filename': '20170616125321132.png'}
image upload
0
/root/autodl-fs/logs/5-31/best_epoch_weights.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/logs/5-31/best_epoch_weights.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[7.7553338e-01 2.1863881e-02 2.0011434e-01 1.5171685e-03 9.4382087e-04
2.7397266e-05]
[0.29277208 0.13778919 0.16467525 0.13501397 0.13493659 0.13481298]
{'label': '无明显病变', 'probability': 0.2927720844745636, 'text': '无病变或正常视网膜表现。,建议进行定期眼睛检查以监测视网膜健康状况,并保持良好的眼睛卫生和健康生活方式。'}
{'label': '无明显病变', 'probability': 0.2927720844745636, 'text': '无病变或正常视网膜表现。,建议进行定期眼睛检查以监测视网膜健康状况,并保持良好的眼睛卫生和健康生活方式。', 'filename': '20170523093010553.png'}
image upload
0
/root/autodl-fs/logs/5-31/best_epoch_weights.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/logs/5-31/best_epoch_weights.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[5.9326612e-03 5.1523438e-03 8.4836262e-01 2.5844619e-02 1.1467033e-01
3.7452988e-05]
[0.13422233 0.13411762 0.31166458 0.13692173 0.14964041 0.13343337]
{'label': '中度非增殖期', 'probability': 0.3116645812988281, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.3116645812988281, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-7236-400.png'}
image upload
0
/root/autodl-fs/logs/5-31/best_epoch_weights.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/logs/5-31/best_epoch_weights.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[4.2151535e-01 7.0121184e-02 5.0096750e-01 5.0122840e-03 2.3695868e-03
1.4100362e-05]
[0.21010971 0.14785554 0.22748446 0.13853553 0.1381699 0.13784485]
{'label': '中度非增殖期', 'probability': 0.22748446464538574, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.22748446464538574, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-3939-200.png'}
image upload
0
/root/autodl-fs/logs/5-31/best_epoch_weights.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/logs/5-31/best_epoch_weights.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[3.0295852e-01 6.3384272e-02 6.1536980e-01 1.4714370e-02 3.5575288e-03
1.5493006e-05]
[0.18576446 0.14618973 0.25388736 0.13924506 0.13770016 0.13721327]
{'label': '中度非增殖期', 'probability': 0.2538873553276062, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.2538873553276062, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6107-300.png'}
image upload
0
/root/autodl-fs/logs/5-31/best_epoch_weights.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/logs/5-31/best_epoch_weights.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[2.0824586e-01 3.7291124e-02 6.3113070e-01 7.5389042e-02 4.7867473e-02
7.5753800e-05]
[0.169242 0.14264727 0.25832394 0.14818667 0.14416395 0.13743617]
{'label': '中度非增殖期', 'probability': 0.25832393765449524, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.25832393765449524, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-4433-200.png'}
image upload
0
/root/autodl-fs/logs/5-31/best_epoch_weights.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/logs/5-31/best_epoch_weights.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[1.2194614e-02 8.4466115e-03 2.5835976e-01 2.1378309e-01 5.0720960e-01
6.2827489e-06]
[0.14030908 0.13978419 0.17947085 0.17164633 0.23018025 0.13860933]
{'label': '增殖期', 'probability': 0.23018024861812592, 'text': '晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。'}
{'label': '增殖期', 'probability': 0.23018024861812592, 'text': '晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。', 'filename': '007-4847-300.png'}
image upload
0
/root/autodl-fs/logs/5-31/best_epoch_weights.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/logs/5-31/best_epoch_weights.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[3.3567373e-02 9.4008772e-03 9.1720527e-01 1.1990806e-02 2.7821658e-02
1.4009129e-05]
[0.13631894 0.13306406 0.32984903 0.13340913 0.13553792 0.13182084]
{'label': '中度非增殖期', 'probability': 0.3298490345478058, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.3298490345478058, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6674-400.png'}
get_dataset
2024-06-02 23:02:39,935 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-02 23:02:39,939 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.user_id = %(user_id_1)s
2024-06-02 23:02:39,940 INFO sqlalchemy.engine.Engine [generated in 0.00065s] {'user_id_1': 1}
2024-06-02 23:02:39,949 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [02/Jun/2024 23:02:39] "GET /getDataset HTTP/1.1" 200 -
* Serving Flask app 'serve'
* Debug mode: off
Address already in use
Port 8000 is in use by another program. Either identify and stop that program, or start the server with a different port.
127.0.0.1 - - [02/Jun/2024 23:42:10] "OPTIONS /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
login
2024-06-02 23:42:10,682 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-02 23:42:10,683 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-02 23:42:10,683 INFO sqlalchemy.engine.Engine [cached since 3073s ago] {'phone_1': '15592228631', 'pswd_1': 'jy2051914'}
2024-06-02 23:42:10,687 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [02/Jun/2024 23:42:10] "GET /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:42:11] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-02 23:42:11,366 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-02 23:42:11,367 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-02 23:42:11,367 INFO sqlalchemy.engine.Engine [cached since 3073s ago] {'param_1': 1}
2024-06-02 23:42:11,371 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [02/Jun/2024 23:42:11] "GET /getGlobal HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:42:27] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:42:32] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:42:32] "GET /static/label/007-6926-400.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:42:32] "GET /static/real_label/007-6926-400.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:42:44] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:42:50] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:42:50] "GET /static/label/007-2110-100.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:42:50] "GET /static/real_label/007-2110-100.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:43:03] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:43:08] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:43:08] "GET /static/label/007-6686-400.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:43:08] "GET /static/real_label/007-6686-400.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:51:19] "OPTIONS /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
image upload
0
/root/autodl-fs/logs/5-31/best_epoch_weights.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/logs/5-31/best_epoch_weights.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[4.79145758e-02 2.71412376e-02 7.20052779e-01 6.64893165e-02
1.38387531e-01 1.44555015e-05]
[0.14276473 0.13982965 0.27959338 0.14544134 0.15628342 0.1360875 ]
{'label': '中度非增殖期', 'probability': 0.2795933783054352, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.2795933783054352, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6926-400.png'}
image upload
0
/root/autodl-fs/logs/5-31/best_epoch_weights.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/logs/5-31/best_epoch_weights.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[8.0056643e-01 5.1051505e-02 1.3263953e-01 1.0276050e-02 5.4633785e-03
3.1350669e-06]
[0.299429 0.14150886 0.15353835 0.13585483 0.13520257 0.13446634]
{'label': '无明显病变', 'probability': 0.2994289994239807, 'text': '无病变或正常视网膜表现。,建议进行定期眼睛检查以监测视网膜健康状况,并保持良好的眼睛卫生和健康生活方式。'}
{'label': '无明显病变', 'probability': 0.2994289994239807, 'text': '无病变或正常视网膜表现。,建议进行定期眼睛检查以监测视网膜健康状况,并保持良好的眼睛卫生和健康生活方式。', 'filename': '007-2110-100.png'}
image upload
0
/root/autodl-fs/logs/5-31/best_epoch_weights.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/logs/5-31/best_epoch_weights.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[1.02512143e-03 1.51091453e-03 2.30735496e-01 4.99030836e-02
7.16715932e-01 1.09522545e-04]
[0.1359897 0.13605578 0.17110707 0.14280173 0.27818045 0.13586526]
{'label': '增殖期', 'probability': 0.27818045020103455, 'text': '晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。'}
{'label': '增殖期', 'probability': 0.27818045020103455, 'text': '晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。', 'filename': '007-6686-400.png'}
login
2024-06-02 23:51:19,232 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-02 23:51:19,234 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-02 23:51:19,235 INFO sqlalchemy.engine.Engine [cached since 3622s ago] {'phone_1': '15592228631', 'pswd_1': 'jy2051914'}
2024-06-02 23:51:19,238 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [02/Jun/2024 23:51:19] "GET /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:51:19] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-02 23:51:19,945 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-02 23:51:19,946 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-02 23:51:19,947 INFO sqlalchemy.engine.Engine [cached since 3622s ago] {'param_1': 1}
2024-06-02 23:51:19,951 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [02/Jun/2024 23:51:19] "GET /getGlobal HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:51:43] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:51:43] "POST /imgUpload HTTP/1.1" 400 -
127.0.0.1 - - [02/Jun/2024 23:52:19] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:52:20] "POST /imgUpload HTTP/1.1" 400 -
127.0.0.1 - - [02/Jun/2024 23:53:29] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:53:30] "POST /imgUpload HTTP/1.1" 400 -
127.0.0.1 - - [02/Jun/2024 23:54:08] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:54:08] "POST /imgUpload HTTP/1.1" 400 -
127.0.0.1 - - [02/Jun/2024 23:56:52] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:56:57] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:56:57] "GET /static/real_label/007-6686-400.png HTTP/1.1" 304 -
127.0.0.1 - - [02/Jun/2024 23:56:57] "GET /static/label/007-6686-400.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:57:56] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:58:01] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:58:01] "GET /static/label/007-6894-400.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2024 23:58:01] "GET /static/real_label/007-6894-400.png HTTP/1.1" 200 -
* Serving Flask app 'serve'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:8000
* Running on http://172.17.0.4:8000
Press CTRL+C to quit
127.0.0.1 - - [03/Jun/2024 11:04:35] "OPTIONS /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
login
2024-06-03 11:04:35,443 INFO sqlalchemy.engine.Engine SELECT DATABASE()
2024-06-03 11:04:35,443 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-03 11:04:35,444 INFO sqlalchemy.engine.Engine SELECT @@sql_mode
2024-06-03 11:04:35,445 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-03 11:04:35,445 INFO sqlalchemy.engine.Engine SELECT @@lower_case_table_names
2024-06-03 11:04:35,445 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-03 11:04:35,447 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-03 11:04:35,453 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-03 11:04:35,453 INFO sqlalchemy.engine.Engine [generated in 0.00044s] {'phone_1': '15592228631', 'pswd_1': 'jy2051914'}
2024-06-03 11:04:35,468 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [03/Jun/2024 11:04:35] "GET /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 11:04:36] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-03 11:04:36,362 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-03 11:04:36,367 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-03 11:04:36,367 INFO sqlalchemy.engine.Engine [generated in 0.00073s] {'param_1': 1}
2024-06-03 11:04:36,374 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [03/Jun/2024 11:04:36] "GET /getGlobal HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 11:04:39] "OPTIONS /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 11:04:39] "GET /static/origin_pic/ HTTP/1.1" 404 -
get_Allhistory
2024-06-03 11:04:39,865 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-03 11:04:39,869 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.user_id = %(user_id_1)s
2024-06-03 11:04:39,870 INFO sqlalchemy.engine.Engine [generated in 0.00062s] {'user_id_1': 1}
2024-06-03 11:04:39,876 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [03/Jun/2024 11:04:39] "GET /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 11:04:55] "OPTIONS /imgUpload HTTP/1.1" 200 -
[06/03/2024-11:04:56] [TRT] [W] Using an engine plan file across different models of devices is not recommended and is likely to affect performance or even cause errors.
[06/03/2024-11:04:56] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
[06/03/2024-11:04:56] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
127.0.0.1 - - [03/Jun/2024 11:04:59] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 11:05:00] "GET /static/label/007-6721-400.png HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 11:05:00] "GET /static/real_label/007-6721-400.png HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 11:05:33] "OPTIONS /imgUpload HTTP/1.1" 200 -
[06/03/2024-11:05:33] [TRT] [W] Using an engine plan file across different models of devices is not recommended and is likely to affect performance or even cause errors.
[06/03/2024-11:05:34] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
[06/03/2024-11:05:34] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
127.0.0.1 - - [03/Jun/2024 11:05:37] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 11:05:37] "GET /static/label/007-6926-400.png HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 11:05:37] "GET /static/real_label/007-6926-400.png HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 11:18:18] "OPTIONS /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
image upload
2
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/logs/5-30/last_epoch_weights.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
(1, 3, 512, 512)
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[5.2827623e-02 2.2244729e-02 6.4881778e-01 4.4749476e-02 2.3134309e-01
1.7316454e-05]
[0.14449483 0.14014265 0.26223314 0.14333227 0.17273511 0.13706201]
{'label': '中度非增殖期', 'probability': 0.2622331380844116, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.2622331380844116, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6721-400.png'}
image upload
2
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/logs/5-30/last_epoch_weights.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
(1, 3, 512, 512)
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[4.79279906e-02 2.72120442e-02 7.19152689e-01 6.68222383e-02
1.38870582e-01 1.44881205e-05]
[0.1427832 0.13985574 0.27937418 0.14550664 0.15637702 0.13610326]
{'label': '中度非增殖期', 'probability': 0.2793741822242737, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.2793741822242737, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6926-400.png'}
login
2024-06-03 11:18:18,715 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-03 11:18:18,716 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-03 11:18:18,717 INFO sqlalchemy.engine.Engine [cached since 823.3s ago] {'phone_1': '15592228631', 'pswd_1': 'jy2051914'}
2024-06-03 11:18:18,721 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [03/Jun/2024 11:18:18] "GET /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 11:18:19] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-03 11:18:19,336 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-03 11:18:19,337 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-03 11:18:19,337 INFO sqlalchemy.engine.Engine [cached since 823s ago] {'param_1': 1}
2024-06-03 11:18:19,340 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [03/Jun/2024 11:18:19] "GET /getGlobal HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 11:18:30] "OPTIONS /imgUpload HTTP/1.1" 200 -
[06/03/2024-11:18:31] [TRT] [W] Using an engine plan file across different models of devices is not recommended and is likely to affect performance or even cause errors.
[06/03/2024-11:18:31] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
[06/03/2024-11:18:31] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
127.0.0.1 - - [03/Jun/2024 11:18:34] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 11:18:34] "OPTIONS /static/label/007-6926-400.png HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 11:18:34] "OPTIONS /static/real_label/007-6926-400.png HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 11:18:34] "GET /static/label/007-6926-400.png HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 11:18:34] "GET /static/real_label/007-6926-400.png HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 11:19:58] "OPTIONS /imgUpload HTTP/1.1" 200 -
[06/03/2024-11:19:58] [TRT] [W] Using an engine plan file across different models of devices is not recommended and is likely to affect performance or even cause errors.
[06/03/2024-11:19:59] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
[06/03/2024-11:19:59] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
127.0.0.1 - - [03/Jun/2024 11:20:01] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 11:20:01] "OPTIONS /static/label/007-6957-400.png HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 11:20:02] "OPTIONS /static/real_label/007-6957-400.png HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 11:20:02] "GET /static/label/007-6957-400.png HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 11:20:02] "GET /static/real_label/007-6957-400.png HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 13:45:58] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 13:45:58] "POST /imgUpload HTTP/1.1" 401 -
127.0.0.1 - - [03/Jun/2024 13:46:56] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 13:46:56] "POST /imgUpload HTTP/1.1" 401 -
* Serving Flask app 'serve'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:8000
* Running on http://172.17.0.4:8000
Press CTRL+C to quit
127.0.0.1 - - [03/Jun/2024 13:49:41] "OPTIONS /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
login
2024-06-03 13:49:41,888 INFO sqlalchemy.engine.Engine SELECT DATABASE()
2024-06-03 13:49:41,888 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-03 13:49:41,889 INFO sqlalchemy.engine.Engine SELECT @@sql_mode
2024-06-03 13:49:41,890 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-03 13:49:41,891 INFO sqlalchemy.engine.Engine SELECT @@lower_case_table_names
2024-06-03 13:49:41,891 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-03 13:49:41,893 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-03 13:49:41,899 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-03 13:49:41,899 INFO sqlalchemy.engine.Engine [generated in 0.00039s] {'phone_1': '15592228631', 'pswd_1': 'jy2051914'}
2024-06-03 13:49:41,902 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [03/Jun/2024 13:49:41] "GET /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 13:49:42] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-03 13:49:42,839 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-03 13:49:42,844 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-03 13:49:42,844 INFO sqlalchemy.engine.Engine [generated in 0.00081s] {'param_1': 1}
2024-06-03 13:49:42,849 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [03/Jun/2024 13:49:42] "GET /getGlobal HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 13:49:52] "OPTIONS /imgUpload HTTP/1.1" 200 -
/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/torch/functional.py:512: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3587.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
127.0.0.1 - - [03/Jun/2024 13:50:00] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 13:50:00] "GET /static/label/007-5394-300.png HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 13:50:00] "GET /static/real_label/007-5394-300.png HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 13:50:09] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 13:50:14] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 13:50:15] "GET /static/real_label/007-6957-400.png HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 13:50:15] "GET /static/label/007-6957-400.png HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 13:50:27] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 13:50:33] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 13:50:33] "GET /static/label/007-6926-400.png HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 13:50:33] "GET /static/real_label/007-6926-400.png HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 13:50:54] "OPTIONS /imgUpload HTTP/1.1" 200 -
[06/03/2024-13:50:55] [TRT] [W] Using an engine plan file across different models of devices is not recommended and is likely to affect performance or even cause errors.
[06/03/2024-13:50:55] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
[06/03/2024-13:50:55] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
127.0.0.1 - - [03/Jun/2024 13:50:58] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 13:50:58] "GET /static/label/007-6686-400.png HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 13:50:58] "GET /static/real_label/007-6686-400.png HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 13:51:23] "OPTIONS /imgUpload HTTP/1.1" 200 -
[06/03/2024-13:51:24] [TRT] [W] Using an engine plan file across different models of devices is not recommended and is likely to affect performance or even cause errors.
[06/03/2024-13:51:24] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
[06/03/2024-13:51:24] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
127.0.0.1 - - [03/Jun/2024 13:51:26] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 13:51:27] "GET /static/label/007-5567-300.png HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 13:51:27] "GET /static/real_label/007-5567-300.png HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 13:54:32] "OPTIONS /getDataset HTTP/1.1" 200 -
image upload
0
/root/autodl-fs/models/first/seg.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[4.1573650e-01 1.3432947e-01 4.3454149e-01 5.5724923e-03 9.7662993e-03
5.3792479e-05]
[0.20993121 0.15843952 0.21391633 0.13929805 0.13988347 0.13853145]
{'label': '中度非增殖期', 'probability': 0.2139163315296173, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.2139163315296173, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-5394-300.png'}
image upload
0
/root/autodl-fs/models/first/seg.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[6.9182128e-02 1.7873436e-02 7.2672784e-01 1.5639463e-02 1.7004448e-01
5.3264789e-04]
[0.1456096 0.138327 0.28103378 0.13801834 0.16106234 0.13594897]
{'label': '中度非增殖期', 'probability': 0.28103378415107727, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.28103378415107727, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6957-400.png'}
image upload
0
/root/autodl-fs/models/first/seg.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[4.79145758e-02 2.71412376e-02 7.20052779e-01 6.64893165e-02
1.38387531e-01 1.44555015e-05]
[0.14276473 0.13982965 0.27959338 0.14544134 0.15628342 0.1360875 ]
{'label': '中度非增殖期', 'probability': 0.2795933783054352, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.2795933783054352, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6926-400.png'}
image upload
2
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
(1, 3, 512, 512)
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[1.03762129e-03 1.51860213e-03 2.31176347e-01 4.98978421e-02
7.16257870e-01 1.11739515e-04]
[0.13599814 0.13606358 0.17119104 0.14280808 0.27806687 0.13587229]
{'label': '增殖期', 'probability': 0.27806687355041504, 'text': '晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。'}
{'label': '增殖期', 'probability': 0.27806687355041504, 'text': '晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。', 'filename': '007-6686-400.png'}
image upload
2
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
(1, 3, 512, 512)
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[4.0643338e-02 1.0324025e-02 8.4699965e-01 2.9453522e-02 7.2489977e-02
8.9582376e-05]
[0.1390558 0.13490301 0.31144777 0.13750848 0.14355555 0.13352938]
{'label': '中度非增殖期', 'probability': 0.31144776940345764, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.31144776940345764, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-5567-300.png'}
get_dataset
2024-06-03 13:54:32,515 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-03 13:54:32,525 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.user_id = %(user_id_1)s
2024-06-03 13:54:32,526 INFO sqlalchemy.engine.Engine [generated in 0.00110s] {'user_id_1': 1}
2024-06-03 13:54:32,538 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [03/Jun/2024 13:54:32] "GET /getDataset HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 13:54:35] "OPTIONS /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [03/Jun/2024 13:54:35] "GET /static/origin_pic/ HTTP/1.1" 404 -
get_Allhistory
2024-06-03 13:54:35,735 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-03 13:54:35,741 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.user_id = %(user_id_1)s
2024-06-03 13:54:35,741 INFO sqlalchemy.engine.Engine [generated in 0.00077s] {'user_id_1': 1}
2024-06-03 13:54:35,746 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [03/Jun/2024 13:54:35] "GET /getAllHistory HTTP/1.1" 200 -
* Serving Flask app 'serve'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:8000
* Running on http://172.17.0.10:8000
Press CTRL+C to quit
127.0.0.1 - - [04/Jun/2024 18:20:48] "OPTIONS /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
login
2024-06-04 18:20:49,023 INFO sqlalchemy.engine.Engine SELECT DATABASE()
2024-06-04 18:20:49,024 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-04 18:20:49,026 INFO sqlalchemy.engine.Engine SELECT @@sql_mode
2024-06-04 18:20:49,026 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-04 18:20:49,027 INFO sqlalchemy.engine.Engine SELECT @@lower_case_table_names
2024-06-04 18:20:49,028 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-04 18:20:49,030 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-04 18:20:49,035 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-04 18:20:49,035 INFO sqlalchemy.engine.Engine [generated in 0.00036s] {'phone_1': '15592228631', 'pswd_1': 'jy2051914'}
2024-06-04 18:20:49,052 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [04/Jun/2024 18:20:49] "GET /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:20:50] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-04 18:20:51,121 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-04 18:20:51,126 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-04 18:20:51,126 INFO sqlalchemy.engine.Engine [generated in 0.00078s] {'param_1': 1}
2024-06-04 18:20:51,133 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [04/Jun/2024 18:20:51] "GET /getGlobal HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:20:59] "OPTIONS /static/origin_pic/ HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:20:59] "OPTIONS /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:20:59] "GET /static/origin_pic/ HTTP/1.1" 404 -
get_Allhistory
2024-06-04 18:20:59,994 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-04 18:20:59,999 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.user_id = %(user_id_1)s
2024-06-04 18:20:59,999 INFO sqlalchemy.engine.Engine [generated in 0.00071s] {'user_id_1': 1}
2024-06-04 18:21:00,005 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [04/Jun/2024 18:21:00] "GET /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:21:01] "OPTIONS /getHistory?id=1 HTTP/1.1" 200 -
getHistory
2024-06-04 18:21:02,112 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-04 18:21:02,115 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-04 18:21:02,115 INFO sqlalchemy.engine.Engine [generated in 0.00042s] {'id_1': '1'}
2024-06-04 18:21:02,118 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [04/Jun/2024 18:21:02] "GET /getHistory?id=1 HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:21:02] "OPTIONS /static/origin_pic/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:21:02] "OPTIONS /static/label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:21:02] "OPTIONS /static/real_label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:21:02] "GET /static/label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:21:02] "GET /static/real_label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:21:02] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:21:02] "OPTIONS /static/origin_pic/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:21:02] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [04/Jun/2024 18:21:19] "OPTIONS /imgUpload HTTP/1.1" 200 -
/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/torch/functional.py:512: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3587.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
127.0.0.1 - - [04/Jun/2024 18:21:27] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:21:38] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:21:44] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:21:44] "OPTIONS /static/label/20170629163635747.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:21:44] "OPTIONS /static/real_label/20170629163635747.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:21:44] "GET /static/label/20170629163635747.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:21:44] "GET /static/real_label/20170629163635747.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:21:53] "OPTIONS /imgUpload HTTP/1.1" 200 -
[06/04/2024-18:21:55] [TRT] [W] Using an engine plan file across different models of devices is not recommended and is likely to affect performance or even cause errors.
[06/04/2024-18:21:55] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
[06/04/2024-18:21:55] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
127.0.0.1 - - [04/Jun/2024 18:22:00] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:22:00] "OPTIONS /static/label/007-6815-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:22:00] "OPTIONS /static/real_label/007-6815-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:22:00] "GET /static/label/007-6815-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:22:00] "GET /static/real_label/007-6815-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:22:14] "OPTIONS /resultUpload?precision=[0.9912838263411808,0.33991935483870966,0.18473842926445522,0,0]&recall=[0.9953876860054962,0.14290557721647737,0.07002982107355865,0,0]&iou=[0.9867513831888547,0.11186305732484077,0.053496848659731186,0,0]&pic_link=http://127.0.0.1:8000/static/origin_pic/007-6722-400.png20170629163635747.png007-6815-400.png&doc_text=<p>dqdxas潇洒</p>&label_link=http://127.0.0.1:8000/static/label/007-6815-400.png&real_label_link=http://127.0.0.1:8000/static/real_label/007-6815-400.png&prob=[0.9942998131715821,0.0022147919524462736,0.0017028445787608596,0.00015293674268404206,0.001629613554526749]&percentage=0.2668238878250122&classify=增殖期&doc_advice=晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。 HTTP/1.1" 200 -
image upload
0
/root/autodl-fs/models/first/seg.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[1.5635832e-01 1.5866643e-02 6.9776356e-01 2.1432199e-02 1.0843094e-01
1.4829765e-04]
[0.15949692 0.13859181 0.2740827 0.13936527 0.15203294 0.1364304 ]
{'label': '中度非增殖期', 'probability': 0.2740826904773712, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.2740826904773712, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6722-400.png'}
image upload
0
/root/autodl-fs/models/first/seg.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[5.3808379e-01 1.2273880e-01 3.0401206e-01 2.1950403e-02 1.3197689e-02
1.7240722e-05]
[0.23675701 0.15628627 0.18734701 0.14130221 0.14007083 0.13823675]
{'label': '无明显病变', 'probability': 0.23675701022148132, 'text': '无病变或正常视网膜表现。,建议进行定期眼睛检查以监测视网膜健康状况,并保持良好的眼睛卫生和健康生活方式。'}
{'label': '无明显病变', 'probability': 0.23675701022148132, 'text': '无病变或正常视网膜表现。,建议进行定期眼睛检查以监测视网膜健康状况,并保持良好的眼睛卫生和健康生活方式。', 'filename': '20170629163635747.png'}
image upload
2
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
(1, 3, 512, 512)
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[8.9968182e-03 3.0076762e-03 2.9619306e-01 1.9940831e-02 6.7140394e-01
4.5765270e-04]
[0.13757673 0.13675523 0.18334655 0.13909064 0.2668239 0.13640694]
{'label': '增殖期', 'probability': 0.2668238878250122, 'text': '晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。'}
{'label': '增殖期', 'probability': 0.2668238878250122, 'text': '晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。', 'filename': '007-6815-400.png'}
res_upload
2024-06-04 18:22:14,788 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-04 18:22:14,794 INFO sqlalchemy.engine.Engine INSERT INTO `imgRecord` (upload_time, user_id, pic_link, label_link, real_label_link, result, doc_text, doc_advice, classify) VALUES (%(upload_time)s, %(user_id)s, %(pic_link)s, %(label_link)s, %(real_label_link)s, %(result)s, %(doc_text)s, %(doc_advice)s, %(classify)s)
2024-06-04 18:22:14,795 INFO sqlalchemy.engine.Engine [generated in 0.00070s] {'upload_time': datetime.datetime(2024, 6, 4, 18, 22, 14, 783206), 'user_id': 1, 'pic_link': 'http://127.0.0.1:8000/static/origin_pic/007-6722-400.png20170629163635747.png007-6815-400.png', 'label_link': 'http://127.0.0.1:8000/static/label/007-6815-400.png', 'real_label_link': 'http://127.0.0.1:8000/static/real_label/007-6815-400.png', 'result': '{"precision": "[0.9912838263411808,0.33991935483870966,0.18473842926445522,0,0]", "iou": "[0.9867513831888547,0.11186305732484077,0.05349684865973118 ... (93 characters truncated) ... : "[0.9942998131715821,0.0022147919524462736,0.0017028445787608596,0.00015293674268404206,0.001629613554526749]", "percentage": "0.2668238878250122"}', 'doc_text': '<p>dqdxas潇洒</p>', 'doc_advice': '晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。', 'classify': '增殖期'}
2024-06-04 18:22:14,798 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-04 18:22:14,798 INFO sqlalchemy.engine.Engine [cached since 83.67s ago] {'param_1': 1}
2024-06-04 18:22:14,803 INFO sqlalchemy.engine.Engine UPDATE `globalData` SET num_pic=%(num_pic)s, precision_all=%(precision_all)s, iou_all=%(iou_all)s, recall_all=%(recall_all)s, prob_all=%(prob_all)s, percentage_all=%(percentage_all)s WHERE `globalData`.id = %(globalData_id)s
2024-06-04 18:22:14,803 INFO sqlalchemy.engine.Engine [generated in 0.00060s] {'num_pic': 2, 'precision_all': '[0.9923206794860857, 0.16995967741935483, 0.32589343087992245, 0.38187964841108857, 0.0]', 'iou_all': '[0.9853483054695888, 0.055931528662420384, 0.25696562842516746, 0.12280930637095021, 0.0]', 'recall_all': '[0.9929248432943935, 0.07145278860823868, 0.5200955556980696, 0.13290662650602408, 0.0]', 'prob_all': '[0.9864259269939544, 0.0020599469966313, 0.008736371268972268, 0.0019629479631787555, 0.0008148067772633745]', 'percentage_all': 0.632038943912506, 'globalData_id': 1}
2024-06-04 18:22:14,805 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [04/Jun/2024 18:22:14] "GET /resultUpload?precision=[0.9912838263411808,0.33991935483870966,0.18473842926445522,0,0]&recall=[0.9953876860054962,0.14290557721647737,0.07002982107355865,0,0]&iou=[0.9867513831888547,0.11186305732484077,0.053496848659731186,0,0]&pic_link=http://127.0.0.1:8000/static/origin_pic/007-6722-400.png20170629163635747.png007-6815-400.png&doc_text=<p>dqdxas潇洒</p>&label_link=http://127.0.0.1:8000/static/label/007-6815-400.png&real_label_link=http://127.0.0.1:8000/static/real_label/007-6815-400.png&prob=[0.9942998131715821,0.0022147919524462736,0.0017028445787608596,0.00015293674268404206,0.001629613554526749]&percentage=0.2668238878250122&classify=增殖期&doc_advice=晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。 HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:22:21] "OPTIONS /static/origin_pic/ HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:22:21] "OPTIONS /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:22:21] "GET /static/origin_pic/ HTTP/1.1" 404 -
get_Allhistory
2024-06-04 18:22:21,316 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-04 18:22:21,316 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.user_id = %(user_id_1)s
2024-06-04 18:22:21,317 INFO sqlalchemy.engine.Engine [cached since 81.32s ago] {'user_id_1': 1}
2024-06-04 18:22:21,320 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [04/Jun/2024 18:22:21] "GET /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:22:22] "OPTIONS /getHistory?id=2 HTTP/1.1" 200 -
getHistory
2024-06-04 18:22:22,258 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-04 18:22:22,259 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-04 18:22:22,260 INFO sqlalchemy.engine.Engine [cached since 80.14s ago] {'id_1': '2'}
2024-06-04 18:22:22,264 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [04/Jun/2024 18:22:22] "GET /getHistory?id=2 HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:22:22] "OPTIONS /static/origin_pic/007-6722-400.png20170629163635747.png007-6815-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:22:22] "OPTIONS /static/real_label/007-6815-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:22:22] "OPTIONS /static/label/007-6815-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:22:22] "GET /static/label/007-6815-400.png HTTP/1.1" 304 -
127.0.0.1 - - [04/Jun/2024 18:22:22] "GET /static/origin_pic/007-6722-400.png20170629163635747.png007-6815-400.png HTTP/1.1" 404 -
127.0.0.1 - - [04/Jun/2024 18:22:22] "GET /static/real_label/007-6815-400.png HTTP/1.1" 304 -
127.0.0.1 - - [04/Jun/2024 18:22:25] "OPTIONS /getHistory?id=1 HTTP/1.1" 200 -
getHistory
2024-06-04 18:22:25,902 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-04 18:22:25,903 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-04 18:22:25,904 INFO sqlalchemy.engine.Engine [cached since 83.79s ago] {'id_1': '1'}
2024-06-04 18:22:25,908 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [04/Jun/2024 18:22:25] "GET /getHistory?id=1 HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:22:26] "OPTIONS /static/origin_pic/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:22:26] "OPTIONS /static/label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:22:26] "OPTIONS /static/real_label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:22:26] "GET /static/label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:22:26] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:22:26] "GET /static/real_label/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [04/Jun/2024 18:22:26] "OPTIONS /static/origin_pic/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:22:26] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [04/Jun/2024 18:22:28] "OPTIONS /getHistory?id=2 HTTP/1.1" 200 -
getHistory
2024-06-04 18:22:28,446 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-04 18:22:28,448 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-04 18:22:28,448 INFO sqlalchemy.engine.Engine [cached since 86.33s ago] {'id_1': '2'}
2024-06-04 18:22:28,452 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [04/Jun/2024 18:22:28] "GET /getHistory?id=2 HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:22:28] "OPTIONS /static/origin_pic/007-6722-400.png20170629163635747.png007-6815-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:22:28] "GET /static/origin_pic/007-6722-400.png20170629163635747.png007-6815-400.png HTTP/1.1" 404 -
127.0.0.1 - - [04/Jun/2024 18:22:50] "GET /static/origin_pic/007-6722-400.png20170629163635747.png007-6815-400.png HTTP/1.1" 404 -
127.0.0.1 - - [04/Jun/2024 18:22:50] "GET /favicon.ico HTTP/1.1" 404 -
127.0.0.1 - - [04/Jun/2024 18:24:25] "GET /static/label/007-6815-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:24:25] "GET /static/label/007-6815-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:36:40] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:36:45] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:36:45] "OPTIONS /static/label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:36:45] "OPTIONS /static/real_label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:36:45] "GET /static/real_label/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [04/Jun/2024 18:36:45] "GET /static/label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:36:50] "OPTIONS /resultUpload?precision=[0.9988526244847747,0,0.8551910764966009,0.5181375203031944,0]&recall=[0.9970170032891984,0,0.870766129032258,0.04503953313253012,0]&iou=[0.9958764588954455,0,0.758873140447464,0.04322883729334177,0]&pic_link=http://127.0.0.1:8000/static/origin_pic/007-6722-400.png&doc_text=<p>行啊生存手册</p>&label_link=http://127.0.0.1:8000/static/label/007-6722-400.png&real_label_link=http://127.0.0.1:8000/static/real_label/007-6722-400.png&prob=[0.9796091836734694,0.001775,0.007730102040816327,0.0009423469387755102,0.009943367346938776]&percentage=0.2740826904773712&classify=中度非增殖期&doc_advice=中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。 HTTP/1.1" 200 -
image upload
0
/root/autodl-fs/models/first/seg.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[1.5635832e-01 1.5866643e-02 6.9776356e-01 2.1432199e-02 1.0843094e-01
1.4829765e-04]
[0.15949692 0.13859181 0.2740827 0.13936527 0.15203294 0.1364304 ]
{'label': '中度非增殖期', 'probability': 0.2740826904773712, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.2740826904773712, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6722-400.png'}
res_upload
2024-06-04 18:36:51,101 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-04 18:36:51,102 INFO sqlalchemy.engine.Engine INSERT INTO `imgRecord` (upload_time, user_id, pic_link, label_link, real_label_link, result, doc_text, doc_advice, classify) VALUES (%(upload_time)s, %(user_id)s, %(pic_link)s, %(label_link)s, %(real_label_link)s, %(result)s, %(doc_text)s, %(doc_advice)s, %(classify)s)
2024-06-04 18:36:51,103 INFO sqlalchemy.engine.Engine [cached since 876.3s ago] {'upload_time': datetime.datetime(2024, 6, 4, 18, 36, 51, 99059), 'user_id': 1, 'pic_link': 'http://127.0.0.1:8000/static/origin_pic/007-6722-400.png', 'label_link': 'http://127.0.0.1:8000/static/label/007-6722-400.png', 'real_label_link': 'http://127.0.0.1:8000/static/real_label/007-6722-400.png', 'result': '{"precision": "[0.9988526244847747,0,0.8551910764966009,0.5181375203031944,0]", "iou": "[0.9958764588954455,0,0.758873140447464,0.04322883729334177,0 ... (71 characters truncated) ... 012,0]", "prob": "[0.9796091836734694,0.001775,0.007730102040816327,0.0009423469387755102,0.009943367346938776]", "percentage": "0.2740826904773712"}', 'doc_text': '<p>行啊生存手册</p>', 'doc_advice': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'classify': '中度非增殖期'}
2024-06-04 18:36:51,106 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-04 18:36:51,107 INFO sqlalchemy.engine.Engine [cached since 960s ago] {'param_1': 1}
2024-06-04 18:36:51,109 INFO sqlalchemy.engine.Engine UPDATE `globalData` SET num_pic=%(num_pic)s, precision_all=%(precision_all)s, iou_all=%(iou_all)s, recall_all=%(recall_all)s, prob_all=%(prob_all)s, percentage_all=%(percentage_all)s WHERE `globalData`.id = %(globalData_id)s
2024-06-04 18:36:51,110 INFO sqlalchemy.engine.Engine [cached since 876.3s ago] {'num_pic': 3, 'precision_all': '[0.9944979944856488, 0.11330645161290322, 0.5023259794188153, 0.4272989390417905, 0.0]', 'iou_all': '[0.9888576899448744, 0.03728768577494692, 0.42426813243259964, 0.09628248334508073, 0.0]', 'recall_all': '[0.9942888966259952, 0.04763519240549246, 0.6369857468094658, 0.1036175953815261, 0.0]', 'prob_all': '[0.9841536792204594, 0.001964964664420867, 0.008400948192920287, 0.001622747621711007, 0.0038576603004885084]', 'percentage_all': 0.5127202301591237, 'globalData_id': 1}
2024-06-04 18:36:51,111 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [04/Jun/2024 18:36:51] "GET /resultUpload?precision=[0.9988526244847747,0,0.8551910764966009,0.5181375203031944,0]&recall=[0.9970170032891984,0,0.870766129032258,0.04503953313253012,0]&iou=[0.9958764588954455,0,0.758873140447464,0.04322883729334177,0]&pic_link=http://127.0.0.1:8000/static/origin_pic/007-6722-400.png&doc_text=<p>行啊生存手册</p>&label_link=http://127.0.0.1:8000/static/label/007-6722-400.png&real_label_link=http://127.0.0.1:8000/static/real_label/007-6722-400.png&prob=[0.9796091836734694,0.001775,0.007730102040816327,0.0009423469387755102,0.009943367346938776]&percentage=0.2740826904773712&classify=中度非增殖期&doc_advice=中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。 HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:36:59] "OPTIONS /static/origin_pic/ HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:36:59] "OPTIONS /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:36:59] "GET /static/origin_pic/ HTTP/1.1" 404 -
get_Allhistory
2024-06-04 18:36:59,826 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-04 18:36:59,827 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.user_id = %(user_id_1)s
2024-06-04 18:36:59,827 INFO sqlalchemy.engine.Engine [cached since 959.8s ago] {'user_id_1': 1}
2024-06-04 18:36:59,831 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [04/Jun/2024 18:36:59] "GET /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:37:02] "OPTIONS /getHistory?id=3 HTTP/1.1" 200 -
getHistory
2024-06-04 18:37:02,519 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-04 18:37:02,520 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-04 18:37:02,521 INFO sqlalchemy.engine.Engine [cached since 960.4s ago] {'id_1': '3'}
2024-06-04 18:37:02,524 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [04/Jun/2024 18:37:02] "GET /getHistory?id=3 HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:37:02] "OPTIONS /static/origin_pic/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:37:02] "OPTIONS /static/label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:37:02] "OPTIONS /static/real_label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:37:02] "GET /static/real_label/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [04/Jun/2024 18:37:02] "GET /static/label/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [04/Jun/2024 18:37:02] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:37:03] "OPTIONS /static/origin_pic/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [04/Jun/2024 18:37:03] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [04/Jun/2024 18:37:07] "OPTIONS /getDataset HTTP/1.1" 200 -
get_dataset
2024-06-04 18:37:07,536 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-04 18:37:07,540 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.user_id = %(user_id_1)s
2024-06-04 18:37:07,541 INFO sqlalchemy.engine.Engine [generated in 0.00076s] {'user_id_1': 1}
2024-06-04 18:37:07,549 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [04/Jun/2024 18:37:07] "GET /getDataset HTTP/1.1" 200 -
* Serving Flask app 'serve'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:8000
* Running on http://172.17.0.4:8000
Press CTRL+C to quit
127.0.0.1 - - [05/Jun/2024 20:16:11] "OPTIONS /sendCode?phone=15129460910 HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:16:12] "GET /sendCode?phone=15129460910 HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:16:34] "OPTIONS /register?phone=15129460910&password=123&phone_valid=684215 HTTP/1.1" 200 -
[2024-06-05 20:16:34,506] ERROR in app: Exception on /register [GET]
Traceback (most recent call last):
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/pymysql/connections.py", line 644, in connect
sock = socket.create_connection(
File "/root/miniconda3/envs/vmunet/lib/python3.8/socket.py", line 808, in create_connection
raise err
File "/root/miniconda3/envs/vmunet/lib/python3.8/socket.py", line 796, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 146, in __init__
self._dbapi_connection = engine.raw_connection()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 3300, in raw_connection
return self.pool.connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 449, in connect
return _ConnectionFairy._checkout(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
rec = pool._do_get()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/impl.py", line 180, in _do_get
self._dec_overflow()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
raise exc_value.with_traceback(exc_tb)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get
return self._create_connection()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
return _ConnectionRecord(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
self.__connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 901, in __connect
pool.logger.debug("Error on connect(): %s", e)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
raise exc_value.with_traceback(exc_tb)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
self.dbapi_connection = connection = pool._invoke_creator(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/create.py", line 643, in connect
return dialect.connect(*cargs, **cparams)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 620, in connect
return self.loaded_dbapi.connect(*cargs, **cparams)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/pymysql/connections.py", line 358, in __init__
self.connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/pymysql/connections.py", line 711, in connect
raise exc
pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on '127.0.0.1' ([Errno 111] Connection refused)")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask/app.py", line 1473, in wsgi_app
response = self.full_dispatch_request()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask/app.py", line 882, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask_cors/extension.py", line 178, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask/app.py", line 865, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "serve.py", line 302, in userRegister
gl=globalData.query.first()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 2728, in first
return self.limit(1)._iter().first() # type: ignore
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 2827, in _iter
result: Union[ScalarResult[_T], Result[_T]] = self.session.execute(
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 2351, in execute
return self._execute_internal(
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 2215, in _execute_internal
) = compile_state_cls.orm_pre_session_exec(
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/context.py", line 549, in orm_pre_session_exec
session._autoflush()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 3050, in _autoflush
raise e.with_traceback(sys.exc_info()[2])
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 3039, in _autoflush
self.flush()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 4341, in flush
self._flush(objects)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 4477, in _flush
transaction.rollback(_capture_exception=True)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
raise exc_value.with_traceback(exc_tb)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 4437, in _flush
flush_context.execute()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/unitofwork.py", line 466, in execute
rec.execute(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/unitofwork.py", line 642, in execute
util.preloaded.orm_persistence.save_obj(
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/persistence.py", line 60, in save_obj
for (
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/persistence.py", line 223, in _organize_states_for_save
for state, dict_, mapper, connection in _connections_for_states(
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/persistence.py", line 1753, in _connections_for_states
connection = uowtransaction.transaction.connection(base_mapper)
File "<string>", line 2, in connection
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/state_changes.py", line 139, in _go
ret_value = fn(self, *arg, **kw)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 1039, in connection
return self._connection_for_bind(bind, execution_options)
File "<string>", line 2, in _connection_for_bind
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/state_changes.py", line 139, in _go
ret_value = fn(self, *arg, **kw)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 1175, in _connection_for_bind
conn = self._parent._connection_for_bind(
File "<string>", line 2, in _connection_for_bind
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/state_changes.py", line 139, in _go
ret_value = fn(self, *arg, **kw)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 1189, in _connection_for_bind
conn = bind.connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 3276, in connect
return self._connection_cls(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 148, in __init__
Connection._handle_dbapi_exception_noconnection(
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 2440, in _handle_dbapi_exception_noconnection
raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 146, in __init__
self._dbapi_connection = engine.raw_connection()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 3300, in raw_connection
return self.pool.connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 449, in connect
return _ConnectionFairy._checkout(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
rec = pool._do_get()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/impl.py", line 180, in _do_get
self._dec_overflow()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
raise exc_value.with_traceback(exc_tb)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get
return self._create_connection()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
return _ConnectionRecord(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
self.__connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 901, in __connect
pool.logger.debug("Error on connect(): %s", e)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
raise exc_value.with_traceback(exc_tb)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
self.dbapi_connection = connection = pool._invoke_creator(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/create.py", line 643, in connect
return dialect.connect(*cargs, **cparams)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 620, in connect
return self.loaded_dbapi.connect(*cargs, **cparams)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/pymysql/connections.py", line 358, in __init__
self.connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/pymysql/connections.py", line 711, in connect
raise exc
sqlalchemy.exc.OperationalError: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely)
(pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '127.0.0.1' ([Errno 111] Connection refused)")
(Background on this error at: https://sqlalche.me/e/20/e3q8)
127.0.0.1 - - [05/Jun/2024 20:16:34] "GET /register?phone=15129460910&password=123&phone_valid=684215 HTTP/1.1" 500 -
127.0.0.1 - - [05/Jun/2024 20:16:45] "OPTIONS /register?phone=15129460910&password=123&phone_valid=684215 HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:16:45] "GET /register?phone=15129460910&password=123&phone_valid=684215 HTTP/1.1" 404 -
127.0.0.1 - - [05/Jun/2024 20:17:01] "OPTIONS /login?phone=15129460910&password=123 HTTP/1.1" 200 -
[2024-06-05 20:17:02,005] ERROR in app: Exception on /login [GET]
Traceback (most recent call last):
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/pymysql/connections.py", line 644, in connect
sock = socket.create_connection(
File "/root/miniconda3/envs/vmunet/lib/python3.8/socket.py", line 808, in create_connection
raise err
File "/root/miniconda3/envs/vmunet/lib/python3.8/socket.py", line 796, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 146, in __init__
self._dbapi_connection = engine.raw_connection()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 3300, in raw_connection
return self.pool.connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 449, in connect
return _ConnectionFairy._checkout(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
rec = pool._do_get()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/impl.py", line 180, in _do_get
self._dec_overflow()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
raise exc_value.with_traceback(exc_tb)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get
return self._create_connection()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
return _ConnectionRecord(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
self.__connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 901, in __connect
pool.logger.debug("Error on connect(): %s", e)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
raise exc_value.with_traceback(exc_tb)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
self.dbapi_connection = connection = pool._invoke_creator(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/create.py", line 643, in connect
return dialect.connect(*cargs, **cparams)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 620, in connect
return self.loaded_dbapi.connect(*cargs, **cparams)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/pymysql/connections.py", line 358, in __init__
self.connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/pymysql/connections.py", line 711, in connect
raise exc
pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on '127.0.0.1' ([Errno 111] Connection refused)")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask/app.py", line 1473, in wsgi_app
response = self.full_dispatch_request()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask/app.py", line 882, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask_cors/extension.py", line 178, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask/app.py", line 865, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "serve.py", line 277, in userlogin
search_result=User.query.filter(User.phone==phone,User.pswd==password).all()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 2673, in all
return self._iter().all() # type: ignore
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 2827, in _iter
result: Union[ScalarResult[_T], Result[_T]] = self.session.execute(
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 2351, in execute
return self._execute_internal(
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 2226, in _execute_internal
conn = self._connection_for_bind(bind)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 2095, in _connection_for_bind
return trans._connection_for_bind(engine, execution_options)
File "<string>", line 2, in _connection_for_bind
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/state_changes.py", line 139, in _go
ret_value = fn(self, *arg, **kw)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/orm/session.py", line 1189, in _connection_for_bind
conn = bind.connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 3276, in connect
return self._connection_cls(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 148, in __init__
Connection._handle_dbapi_exception_noconnection(
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 2440, in _handle_dbapi_exception_noconnection
raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 146, in __init__
self._dbapi_connection = engine.raw_connection()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 3300, in raw_connection
return self.pool.connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 449, in connect
return _ConnectionFairy._checkout(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
rec = pool._do_get()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/impl.py", line 180, in _do_get
self._dec_overflow()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
raise exc_value.with_traceback(exc_tb)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get
return self._create_connection()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
return _ConnectionRecord(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
self.__connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 901, in __connect
pool.logger.debug("Error on connect(): %s", e)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
raise exc_value.with_traceback(exc_tb)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
self.dbapi_connection = connection = pool._invoke_creator(self)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/create.py", line 643, in connect
return dialect.connect(*cargs, **cparams)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 620, in connect
return self.loaded_dbapi.connect(*cargs, **cparams)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/pymysql/connections.py", line 358, in __init__
self.connect()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/pymysql/connections.py", line 711, in connect
raise exc
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '127.0.0.1' ([Errno 111] Connection refused)")
(Background on this error at: https://sqlalche.me/e/20/e3q8)
127.0.0.1 - - [05/Jun/2024 20:17:02] "GET /login?phone=15129460910&password=123 HTTP/1.1" 500 -
127.0.0.1 - - [05/Jun/2024 20:17:59] "OPTIONS /sendCode?phone=15129460910 HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:18:00] "GET /sendCode?phone=15129460910 HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:18:14] "OPTIONS /register?phone=15129460910&password=123&phone_valid=317131 HTTP/1.1" 200 -
sendCode
{
"SendStatusSet": [
{
"SerialNo": "9318:40716487117175897720076091",
"PhoneNumber": "+8615129460910",
"Fee": 1,
"SessionContext": "",
"Code": "Ok",
"Message": "send success",
"IsoCode": "CN"
}
],
"RequestId": "937511b4-6de1-4075-9b65-6a0059f2510b"
}
register
register
login
sendCode
{
"SendStatusSet": [
{
"SerialNo": "9318:1977258117175898804906091",
"PhoneNumber": "+8615129460910",
"Fee": 1,
"SessionContext": "",
"Code": "Ok",
"Message": "send success",
"IsoCode": "CN"
}
],
"RequestId": "ebd14d90-2ad2-4634-b76e-5b60337a0db5"
}
register
2024-06-05 20:18:15,186 INFO sqlalchemy.engine.Engine SELECT DATABASE()
2024-06-05 20:18:15,186 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-05 20:18:15,187 INFO sqlalchemy.engine.Engine SELECT @@sql_mode
2024-06-05 20:18:15,187 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-05 20:18:15,187 INFO sqlalchemy.engine.Engine SELECT @@lower_case_table_names
2024-06-05 20:18:15,187 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-05 20:18:15,188 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:18:15,190 INFO sqlalchemy.engine.Engine INSERT INTO users (phone, pswd, time_register, time_login) VALUES (%(phone)s, %(pswd)s, %(time_register)s, %(time_login)s)
2024-06-05 20:18:15,191 INFO sqlalchemy.engine.Engine [generated in 0.00029s] {'phone': '15129460910', 'pswd': '123', 'time_register': datetime.datetime(2024, 6, 5, 20, 18, 15, 140810), 'time_login': datetime.datetime(2024, 6, 5, 20, 18, 15, 140824)}
2024-06-05 20:18:15,204 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-05 20:18:15,204 INFO sqlalchemy.engine.Engine [generated in 0.00054s] {'param_1': 1}
2024-06-05 20:18:15,211 INFO sqlalchemy.engine.Engine UPDATE `globalData` SET num_people=%(num_people)s WHERE `globalData`.id = %(globalData_id)s
2024-06-05 20:18:15,212 INFO sqlalchemy.engine.Engine [generated in 0.00059s] {'num_people': 2, 'globalData_id': 1}
2024-06-05 20:18:15,213 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [05/Jun/2024 20:18:15] "GET /register?phone=15129460910&password=123&phone_valid=317131 HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:18:40] "OPTIONS /login?phone=15129460910&password=123 HTTP/1.1" 200 -
login
2024-06-05 20:18:41,107 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:18:41,111 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-05 20:18:41,111 INFO sqlalchemy.engine.Engine [generated in 0.00054s] {'phone_1': '15129460910', 'pswd_1': '123'}
2024-06-05 20:18:41,115 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [05/Jun/2024 20:18:41] "GET /login?phone=15129460910&password=123 HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:18:42] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-05 20:18:42,903 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:18:42,904 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-05 20:18:42,905 INFO sqlalchemy.engine.Engine [cached since 27.7s ago] {'param_1': 1}
2024-06-05 20:18:42,907 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [05/Jun/2024 20:18:42] "GET /getGlobal HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:19:01] "OPTIONS /imgUpload HTTP/1.1" 200 -
[06/05/2024-20:19:03] [TRT] [W] Using an engine plan file across different models of devices is not recommended and is likely to affect performance or even cause errors.
[06/05/2024-20:19:03] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
[06/05/2024-20:19:03] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
127.0.0.1 - - [05/Jun/2024 20:19:06] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:19:06] "GET /static/label/007-6721-400.png HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:19:06] "GET /static/real_label/007-6721-400.png HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:19:24] "OPTIONS /resultUpload?precision=[0.998900052081255,0.030418250950570342,0.8726215644820295,0,0]&recall=[0.9994517698211316,0.06512890094979647,0.5788920056100981,0,0]&iou=[0.9983530269585097,0.0211733568592854,0.5337859683155513,0,0]&pic_link=http://127.0.0.1:8000/static/origin_pic/007-6721-400.png&doc_text=<p>大声道规划局啊圣诞贺卡东湖大<u>d大大<span+class%3D"ql-cursor"></span>sa</u></p>&label_link=http://127.0.0.1:8000/static/label/007-6721-400.png&real_label_link=http://127.0.0.1:8000/static/real_label/007-6721-400.png&prob=[0.9972642857142857,0.0008051020408163265,0.0019306122448979593,0,0]&percentage=0.2622331380844116&classify=中度非增殖期&doc_advice=中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。 HTTP/1.1" 200 -
image upload
2
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
(1, 3, 512, 512)
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[5.2827623e-02 2.2244729e-02 6.4881778e-01 4.4749476e-02 2.3134309e-01
1.7316454e-05]
[0.14449483 0.14014265 0.26223314 0.14333227 0.17273511 0.13706201]
{'label': '中度非增殖期', 'probability': 0.2622331380844116, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.2622331380844116, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6721-400.png'}
res_upload
2024-06-05 20:19:24,816 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:19:24,820 INFO sqlalchemy.engine.Engine INSERT INTO `imgRecord` (upload_time, user_id, pic_link, label_link, real_label_link, result, doc_text, doc_advice, classify) VALUES (%(upload_time)s, %(user_id)s, %(pic_link)s, %(label_link)s, %(real_label_link)s, %(result)s, %(doc_text)s, %(doc_advice)s, %(classify)s)
2024-06-05 20:19:24,820 INFO sqlalchemy.engine.Engine [generated in 0.00066s] {'upload_time': datetime.datetime(2024, 6, 5, 20, 19, 24, 814941), 'user_id': 2, 'pic_link': 'http://127.0.0.1:8000/static/origin_pic/007-6721-400.png', 'label_link': 'http://127.0.0.1:8000/static/label/007-6721-400.png', 'real_label_link': 'http://127.0.0.1:8000/static/real_label/007-6721-400.png', 'result': '{"precision": "[0.998900052081255,0.030418250950570342,0.8726215644820295,0,0]", "iou": "[0.9983530269585097,0.0211733568592854,0.5337859683155513,0, ... (48 characters truncated) ... 4979647,0.5788920056100981,0,0]", "prob": "[0.9972642857142857,0.0008051020408163265,0.0019306122448979593,0,0]", "percentage": "0.2622331380844116"}', 'doc_text': '<p>大声道规划局啊圣诞贺卡东湖大<u>d大大<span class="ql-cursor">\ufeff</span>sa</u></p>', 'doc_advice': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'classify': '中度非增殖期'}
2024-06-05 20:19:24,826 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-05 20:19:24,827 INFO sqlalchemy.engine.Engine [cached since 69.62s ago] {'param_1': 1}
2024-06-05 20:19:24,831 INFO sqlalchemy.engine.Engine UPDATE `globalData` SET num_pic=%(num_pic)s, precision_all=%(precision_all)s, iou_all=%(iou_all)s, recall_all=%(recall_all)s, prob_all=%(prob_all)s, percentage_all=%(percentage_all)s WHERE `globalData`.id = %(globalData_id)s
2024-06-05 20:19:24,832 INFO sqlalchemy.engine.Engine [generated in 0.00030s] {'num_pic': 4, 'precision_all': '[0.9955985088845503, 0.09258440144732, 0.5948998756846189, 0.3204742042813429, 0.0]', 'iou_all': '[0.9912315241982832, 0.03325910354603154, 0.45164759140333754, 0.07221186250881055, 0.0]', 'recall_all': '[0.9955796149247793, 0.05200861954156846, 0.622462311509624, 0.07771319653614457, 0.0]', 'prob_all': '[0.987431330843916, 0.0016749990085197317, 0.006783364205914705, 0.0012170607162832552, 0.0028932452253663814]', 'percentage_all': 0.4500982845211029, 'globalData_id': 1}
2024-06-05 20:19:24,833 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [05/Jun/2024 20:19:24] "GET /resultUpload?precision=[0.998900052081255,0.030418250950570342,0.8726215644820295,0,0]&recall=[0.9994517698211316,0.06512890094979647,0.5788920056100981,0,0]&iou=[0.9983530269585097,0.0211733568592854,0.5337859683155513,0,0]&pic_link=http://127.0.0.1:8000/static/origin_pic/007-6721-400.png&doc_text=<p>大声道规划局啊圣诞贺卡东湖大<u>d大大<span+class%3D"ql-cursor"></span>sa</u></p>&label_link=http://127.0.0.1:8000/static/label/007-6721-400.png&real_label_link=http://127.0.0.1:8000/static/real_label/007-6721-400.png&prob=[0.9972642857142857,0.0008051020408163265,0.0019306122448979593,0,0]&percentage=0.2622331380844116&classify=中度非增殖期&doc_advice=中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。 HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:19:32] "GET /static/origin_pic/ HTTP/1.1" 404 -
127.0.0.1 - - [05/Jun/2024 20:19:32] "OPTIONS /getAllHistory HTTP/1.1" 200 -
get_Allhistory
2024-06-05 20:19:32,831 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:19:32,835 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.user_id = %(user_id_1)s
2024-06-05 20:19:32,836 INFO sqlalchemy.engine.Engine [generated in 0.00053s] {'user_id_1': 2}
2024-06-05 20:19:32,839 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [05/Jun/2024 20:19:32] "GET /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:19:35] "OPTIONS /getHistory?id=4 HTTP/1.1" 200 -
getHistory
2024-06-05 20:19:35,290 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:19:35,293 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-05 20:19:35,294 INFO sqlalchemy.engine.Engine [generated in 0.00049s] {'id_1': '4'}
2024-06-05 20:19:35,420 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [05/Jun/2024 20:19:35] "GET /getHistory?id=4 HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:19:35] "GET /static/origin_pic/007-6721-400.png HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:19:36] "GET /static/origin_pic/007-6721-400.png HTTP/1.1" 304 -
127.0.0.1 - - [05/Jun/2024 20:19:44] "OPTIONS /getDataset HTTP/1.1" 200 -
get_dataset
2024-06-05 20:19:44,311 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:19:44,316 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.user_id = %(user_id_1)s
2024-06-05 20:19:44,316 INFO sqlalchemy.engine.Engine [generated in 0.00075s] {'user_id_1': 2}
2024-06-05 20:19:44,321 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [05/Jun/2024 20:19:44] "GET /getDataset HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:30:04] "OPTIONS /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
login
2024-06-05 20:30:05,168 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:30:05,169 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-05 20:30:05,170 INFO sqlalchemy.engine.Engine [cached since 684.1s ago] {'phone_1': '15592228631', 'pswd_1': 'jy2051914'}
2024-06-05 20:30:05,173 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [05/Jun/2024 20:30:05] "GET /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:30:05] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-05 20:30:05,600 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:30:05,601 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-05 20:30:05,601 INFO sqlalchemy.engine.Engine [cached since 710.4s ago] {'param_1': 1}
2024-06-05 20:30:05,604 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [05/Jun/2024 20:30:05] "GET /getGlobal HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:30:16] "OPTIONS /imgUpload HTTP/1.1" 200 -
/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/torch/functional.py:512: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3587.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
127.0.0.1 - - [05/Jun/2024 20:30:22] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:30:31] "OPTIONS /imgUpload HTTP/1.1" 200 -
[06/05/2024-20:30:31] [TRT] [W] Using an engine plan file across different models of devices is not recommended and is likely to affect performance or even cause errors.
[06/05/2024-20:30:32] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
[06/05/2024-20:30:32] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
127.0.0.1 - - [05/Jun/2024 20:30:34] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:30:44] "OPTIONS /resultUpload?precision=[0.998900052081255,0.030418250950570342,0.8726215644820295,0,0]&recall=[0.9994517698211316,0.06512890094979647,0.5788920056100981,0,0]&iou=[0.9983530269585097,0.0211733568592854,0.5337859683155513,0,0]&pic_link=http://127.0.0.1:8000/static/origin_pic/007-6721-400.png&doc_text=<p>中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光</p>&label_link=http://127.0.0.1:8000/static/label/007-6721-400.png&real_label_link=http://127.0.0.1:8000/static/real_label/007-6721-400.png&prob=[0.9972642857142857,0.0008051020408163265,0.0019306122448979593,0,0]&percentage=0.2622331380844116&classify=中度非增殖期&doc_advice=中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。 HTTP/1.1" 200 -
image upload
0
/root/autodl-fs/models/first/seg.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[5.2489374e-02 2.2105748e-02 6.4948928e-01 4.4777866e-02 2.3112091e-01
1.6864302e-05]
[0.14443536 0.14011288 0.26239 0.14332584 0.17268404 0.1370519 ]
{'label': '中度非增殖期', 'probability': 0.26238998770713806, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.26238998770713806, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6721-400.png'}
image upload
2
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
(1, 3, 512, 512)
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[5.2827623e-02 2.2244729e-02 6.4881778e-01 4.4749476e-02 2.3134309e-01
1.7316454e-05]
[0.14449483 0.14014265 0.26223314 0.14333227 0.17273511 0.13706201]
{'label': '中度非增殖期', 'probability': 0.2622331380844116, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.2622331380844116, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6721-400.png'}
res_upload
2024-06-05 20:30:44,598 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:30:44,600 INFO sqlalchemy.engine.Engine INSERT INTO `imgRecord` (upload_time, user_id, pic_link, label_link, real_label_link, result, doc_text, doc_advice, classify) VALUES (%(upload_time)s, %(user_id)s, %(pic_link)s, %(label_link)s, %(real_label_link)s, %(result)s, %(doc_text)s, %(doc_advice)s, %(classify)s)
2024-06-05 20:30:44,600 INFO sqlalchemy.engine.Engine [cached since 679.8s ago] {'upload_time': datetime.datetime(2024, 6, 5, 20, 30, 44, 593738), 'user_id': 1, 'pic_link': 'http://127.0.0.1:8000/static/origin_pic/007-6721-400.png', 'label_link': 'http://127.0.0.1:8000/static/label/007-6721-400.png', 'real_label_link': 'http://127.0.0.1:8000/static/real_label/007-6721-400.png', 'result': '{"precision": "[0.998900052081255,0.030418250950570342,0.8726215644820295,0,0]", "iou": "[0.9983530269585097,0.0211733568592854,0.5337859683155513,0, ... (48 characters truncated) ... 4979647,0.5788920056100981,0,0]", "prob": "[0.9972642857142857,0.0008051020408163265,0.0019306122448979593,0,0]", "percentage": "0.2622331380844116"}', 'doc_text': '<p>中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光</p>', 'doc_advice': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'classify': '中度非增殖期'}
2024-06-05 20:30:44,604 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-05 20:30:44,605 INFO sqlalchemy.engine.Engine [cached since 749.4s ago] {'param_1': 1}
2024-06-05 20:30:44,607 INFO sqlalchemy.engine.Engine UPDATE `globalData` SET num_pic=%(num_pic)s, precision_all=%(precision_all)s, iou_all=%(iou_all)s, recall_all=%(recall_all)s, prob_all=%(prob_all)s, percentage_all=%(percentage_all)s WHERE `globalData`.id = %(globalData_id)s
2024-06-05 20:30:44,607 INFO sqlalchemy.engine.Engine [cached since 679.8s ago] {'num_pic': 5, 'precision_all': '[0.9962588175238911, 0.08015117134797006, 0.6504442134441011, 0.2563793634250743, 0.0]', 'iou_all': '[0.9926558247503285, 0.03084195420868231, 0.46807526678578026, 0.05776949000704844, 0.0]', 'recall_all': '[0.9963540459040499, 0.05463267582321406, 0.6137482503297187, 0.06217055722891566, 0.0]', 'prob_all': '[0.9893979218179899, 0.0015010196149790507, 0.005812813813711355, 0.0009736485730266042, 0.002314596180293105]', 'percentage_all': 0.4125250276168823, 'globalData_id': 1}
2024-06-05 20:30:44,608 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [05/Jun/2024 20:30:44] "GET /resultUpload?precision=[0.998900052081255,0.030418250950570342,0.8726215644820295,0,0]&recall=[0.9994517698211316,0.06512890094979647,0.5788920056100981,0,0]&iou=[0.9983530269585097,0.0211733568592854,0.5337859683155513,0,0]&pic_link=http://127.0.0.1:8000/static/origin_pic/007-6721-400.png&doc_text=<p>中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光</p>&label_link=http://127.0.0.1:8000/static/label/007-6721-400.png&real_label_link=http://127.0.0.1:8000/static/real_label/007-6721-400.png&prob=[0.9972642857142857,0.0008051020408163265,0.0019306122448979593,0,0]&percentage=0.2622331380844116&classify=中度非增殖期&doc_advice=中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。 HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:30:47] "GET /static/origin_pic/ HTTP/1.1" 404 -
127.0.0.1 - - [05/Jun/2024 20:30:47] "OPTIONS /getAllHistory HTTP/1.1" 200 -
get_Allhistory
2024-06-05 20:30:47,993 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:30:47,994 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.user_id = %(user_id_1)s
2024-06-05 20:30:47,995 INFO sqlalchemy.engine.Engine [cached since 675.2s ago] {'user_id_1': 1}
2024-06-05 20:30:47,999 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [05/Jun/2024 20:30:48] "GET /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:30:50] "OPTIONS /getHistory?id=5 HTTP/1.1" 200 -
getHistory
2024-06-05 20:30:50,579 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:30:50,579 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-05 20:30:50,580 INFO sqlalchemy.engine.Engine [cached since 675.3s ago] {'id_1': '5'}
2024-06-05 20:30:50,583 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [05/Jun/2024 20:30:50] "GET /getHistory?id=5 HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:30:50] "GET /static/origin_pic/007-6721-400.png HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:30:51] "GET /static/origin_pic/007-6721-400.png HTTP/1.1" 304 -
127.0.0.1 - - [05/Jun/2024 20:30:53] "OPTIONS /getHistory?id=3 HTTP/1.1" 200 -
getHistory
2024-06-05 20:30:53,525 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:30:53,525 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-05 20:30:53,526 INFO sqlalchemy.engine.Engine [cached since 678.2s ago] {'id_1': '3'}
2024-06-05 20:30:53,529 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [05/Jun/2024 20:30:53] "GET /getHistory?id=3 HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:30:53] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [05/Jun/2024 20:30:53] "GET /static/label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:30:53] "GET /static/real_label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:30:53] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [05/Jun/2024 20:30:55] "OPTIONS /getHistory?id=1 HTTP/1.1" 200 -
getHistory
2024-06-05 20:30:56,181 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:30:56,182 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-05 20:30:56,182 INFO sqlalchemy.engine.Engine [cached since 680.9s ago] {'id_1': '1'}
2024-06-05 20:30:56,184 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [05/Jun/2024 20:30:56] "GET /getHistory?id=1 HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:31:24] "OPTIONS /getDataset HTTP/1.1" 200 -
get_dataset
2024-06-05 20:31:24,921 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:31:24,921 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.user_id = %(user_id_1)s
2024-06-05 20:31:24,922 INFO sqlalchemy.engine.Engine [cached since 700.6s ago] {'user_id_1': 1}
2024-06-05 20:31:24,925 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [05/Jun/2024 20:31:24] "GET /getDataset HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:36:23] "OPTIONS /getDataset HTTP/1.1" 200 -
get_dataset
2024-06-05 20:36:23,233 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:36:23,234 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.user_id = %(user_id_1)s
2024-06-05 20:36:23,235 INFO sqlalchemy.engine.Engine [cached since 998.9s ago] {'user_id_1': 1}
2024-06-05 20:36:23,238 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [05/Jun/2024 20:36:23] "GET /getDataset HTTP/1.1" 200 -
changeDataset
2024-06-05 20:37:48,296 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:37:48,299 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.data_folder = %(data_folder_1)s
2024-06-05 20:37:48,300 INFO sqlalchemy.engine.Engine [generated in 0.00071s] {'data_folder_1': '2024-06-01'}
2024-06-05 20:37:48,305 INFO sqlalchemy.engine.Engine UPDATE `datasetRecord` SET train_type=%(train_type)s WHERE `datasetRecord`.id = %(datasetRecord_id)s
2024-06-05 20:37:48,305 INFO sqlalchemy.engine.Engine [generated in 0.00069s] [{'train_type': '2', 'datasetRecord_id': 1}, {'train_type': '2', 'datasetRecord_id': 2}, {'train_type': '2', 'datasetRecord_id': 3}, {'train_type': '2', 'datasetRecord_id': 4}]
2024-06-05 20:37:48,309 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [05/Jun/2024 20:37:48] "GET /changeDataset?data_folder=2024-06-01&train_type=2 HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:37:53] "OPTIONS /getDataset HTTP/1.1" 200 -
get_dataset
2024-06-05 20:37:53,252 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:37:53,253 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.user_id = %(user_id_1)s
2024-06-05 20:37:53,254 INFO sqlalchemy.engine.Engine [cached since 1089s ago] {'user_id_1': 1}
2024-06-05 20:37:53,256 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [05/Jun/2024 20:37:53] "GET /getDataset HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:38:01] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-05 20:38:01,640 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:38:01,641 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-05 20:38:01,641 INFO sqlalchemy.engine.Engine [cached since 1186s ago] {'param_1': 1}
2024-06-05 20:38:01,644 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [05/Jun/2024 20:38:01] "GET /getGlobal HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:38:11] "OPTIONS /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
login
2024-06-05 20:38:11,404 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:38:11,405 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-05 20:38:11,405 INFO sqlalchemy.engine.Engine [cached since 1170s ago] {'phone_1': '15592228631', 'pswd_1': 'jy2051914'}
2024-06-05 20:38:11,409 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [05/Jun/2024 20:38:11] "GET /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:38:11] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-05 20:38:11,806 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:38:11,806 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-05 20:38:11,807 INFO sqlalchemy.engine.Engine [cached since 1197s ago] {'param_1': 1}
2024-06-05 20:38:11,810 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [05/Jun/2024 20:38:11] "GET /getGlobal HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:38:13] "OPTIONS /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:38:13] "GET /static/origin_pic/ HTTP/1.1" 404 -
get_Allhistory
2024-06-05 20:38:13,891 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:38:13,892 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.user_id = %(user_id_1)s
2024-06-05 20:38:13,892 INFO sqlalchemy.engine.Engine [cached since 1121s ago] {'user_id_1': 1}
2024-06-05 20:38:13,896 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [05/Jun/2024 20:38:13] "GET /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:39:59] "OPTIONS /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
login
2024-06-05 20:39:59,822 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:39:59,823 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-05 20:39:59,823 INFO sqlalchemy.engine.Engine [cached since 1279s ago] {'phone_1': '15592228631', 'pswd_1': 'jy2051914'}
2024-06-05 20:39:59,826 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [05/Jun/2024 20:39:59] "GET /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:40:00] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-05 20:40:00,318 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:40:00,318 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-05 20:40:00,319 INFO sqlalchemy.engine.Engine [cached since 1305s ago] {'param_1': 1}
2024-06-05 20:40:00,321 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [05/Jun/2024 20:40:00] "GET /getGlobal HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:40:44] "OPTIONS /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
login
2024-06-05 20:40:45,003 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:40:45,004 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-05 20:40:45,004 INFO sqlalchemy.engine.Engine [cached since 1324s ago] {'phone_1': '15592228631', 'pswd_1': 'jy2051914'}
2024-06-05 20:40:45,008 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [05/Jun/2024 20:40:45] "GET /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:40:45] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-05 20:40:45,410 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-05 20:40:45,411 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-05 20:40:45,411 INFO sqlalchemy.engine.Engine [cached since 1350s ago] {'param_1': 1}
2024-06-05 20:40:45,414 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [05/Jun/2024 20:40:45] "GET /getGlobal HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:40:57] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:41:02] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:41:02] "GET /static/label/007-6721-400.png HTTP/1.1" 200 -
127.0.0.1 - - [05/Jun/2024 20:41:02] "GET /static/real_label/007-6721-400.png HTTP/1.1" 304 -
127.0.0.1 - - [05/Jun/2024 20:41:09] "OPTIONS /imgUpload HTTP/1.1" 200 -
2024-06-05 20:41:14.119538971 [W:onnxruntime:, transformer_memcpy.cc:74 ApplyImpl] 3 Memcpy nodes are added to the graph main_graph for CUDAExecutionProvider. It might have negative impact on performance (including unable to run CUDA graph). Set session_options.log_severity_level=1 to see the detail logs before this message.
2024-06-05 20:41:14.127322800 [W:onnxruntime:, session_state.cc:1166 VerifyEachNodeIsAssignedToAnEp] Some nodes were not assigned to the preferred execution providers which may or may not have an negative impact on performance. e.g. ORT explicitly assigns shape related ops to CPU to improve perf.
2024-06-05 20:41:14.127419424 [W:onnxruntime:, session_state.cc:1168 VerifyEachNodeIsAssignedToAnEp] Rerunning with verbose output on a non-minimal build will show node assignments.
2024-06-05 20:41:19.424704176 [E:onnxruntime:, sequential_executor.cc:514 ExecuteKernel] Non-zero status code returned while running Resize node. Name:'/layers.0/blocks.0/Resize' Status Message: upsamplebase.h:369 ScalesValidation 'Cubic' mode only support 2-D inputs ('Bicubic') or 4-D inputs with the corresponding outermost 2 scale values being 1 in the Resize operator
[2024-06-05 20:41:19,428] ERROR in app: Exception on /imgUpload [POST]
Traceback (most recent call last):
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask/app.py", line 1473, in wsgi_app
response = self.full_dispatch_request()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask/app.py", line 882, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask_cors/extension.py", line 178, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask/app.py", line 865, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/flask_jwt_extended/view_decorators.py", line 170, in decorator
return current_app.ensure_sync(fn)(*args, **kwargs)
File "serve.py", line 152, in upload_img
result = do_RA.predict(filename)
File "/autodl-fs/data/back/predict/predict_DR_grading.py", line 98, in predict
preds=self.net.detect_miou(img)
File "/autodl-fs/data/back/predict/predict_class/classification.py", line 221, in detect_miou
preds =self.softmax(np.array(self.net.run(None,{"input": photo})))
File "/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 220, in run
return self._sess.run(output_names, input_feed, run_options)
onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running Resize node. Name:'/layers.0/blocks.0/Resize' Status Message: upsamplebase.h:369 ScalesValidation 'Cubic' mode only support 2-D inputs ('Bicubic') or 4-D inputs with the corresponding outermost 2 scale values being 1 in the Resize operator
127.0.0.1 - - [05/Jun/2024 20:41:19] "POST /imgUpload HTTP/1.1" 500 -
* Serving Flask app 'serve'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:8000
* Running on http://172.17.0.4:8000
Press CTRL+C to quit
Traceback (most recent call last):
File "serve.py", line 3, in <module>
from flask import Flask, jsonify, abort, request, make_response, url_for, redirect, render_template
ModuleNotFoundError: No module named 'flask'
* Serving Flask app 'serve'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:8000
* Running on http://172.17.0.2:8000
Press CTRL+C to quit
127.0.0.1 - - [06/Jun/2024 00:32:56] "OPTIONS /login?phone=1&password=1 HTTP/1.1" 200 -
login
2024-06-06 00:32:56,781 INFO sqlalchemy.engine.Engine SELECT DATABASE()
2024-06-06 00:32:56,781 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-06 00:32:56,782 INFO sqlalchemy.engine.Engine SELECT @@sql_mode
2024-06-06 00:32:56,783 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-06 00:32:56,783 INFO sqlalchemy.engine.Engine SELECT @@lower_case_table_names
2024-06-06 00:32:56,783 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-06 00:32:56,785 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 00:32:56,787 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-06 00:32:56,788 INFO sqlalchemy.engine.Engine [generated in 0.00020s] {'phone_1': '1', 'pswd_1': '1'}
2024-06-06 00:32:56,796 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 00:32:56] "GET /login?phone=1&password=1 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:33:05] "OPTIONS /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
login
2024-06-06 00:33:05,353 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 00:33:05,353 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-06 00:33:05,354 INFO sqlalchemy.engine.Engine [cached since 8.566s ago] {'phone_1': '15592228631', 'pswd_1': 'jy2051914'}
2024-06-06 00:33:05,356 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 00:33:05] "GET /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:33:09] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-06 00:33:09,238 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 00:33:09,239 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-06 00:33:09,239 INFO sqlalchemy.engine.Engine [generated in 0.00025s] {'param_1': 1}
2024-06-06 00:33:09,242 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 00:33:09] "GET /getGlobal HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:34:02] "OPTIONS /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
login
2024-06-06 00:34:03,182 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 00:34:03,182 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-06 00:34:03,183 INFO sqlalchemy.engine.Engine [cached since 66.4s ago] {'phone_1': '15592228631', 'pswd_1': 'jy2051914'}
2024-06-06 00:34:03,185 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 00:34:03] "GET /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:34:04] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-06 00:34:04,893 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 00:34:04,894 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-06 00:34:04,894 INFO sqlalchemy.engine.Engine [cached since 55.65s ago] {'param_1': 1}
2024-06-06 00:34:04,896 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 00:34:04] "GET /getGlobal HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:35:59] "OPTIONS /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
login
2024-06-06 00:35:59,569 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 00:35:59,569 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-06 00:35:59,570 INFO sqlalchemy.engine.Engine [cached since 182.8s ago] {'phone_1': '15592228631', 'pswd_1': 'jy2051914'}
2024-06-06 00:35:59,571 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 00:35:59] "GET /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:36:00] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-06 00:36:01,192 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 00:36:01,193 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-06 00:36:01,193 INFO sqlalchemy.engine.Engine [cached since 172s ago] {'param_1': 1}
2024-06-06 00:36:01,195 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 00:36:01] "GET /getGlobal HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:36:14] "OPTIONS /imgUpload HTTP/1.1" 200 -
/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/torch/functional.py:512: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3587.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
127.0.0.1 - - [06/Jun/2024 00:36:23] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:36:23] "OPTIONS /static/label/007-6717-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:36:23] "OPTIONS /static/real_label/007-6717-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:36:23] "GET /static/label/007-6717-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:36:23] "GET /static/real_label/007-6717-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 00:36:32] "OPTIONS /imgUpload HTTP/1.1" 200 -
2024-06-06 00:36:37.349280503 [W:onnxruntime:, transformer_memcpy.cc:74 ApplyImpl] 3 Memcpy nodes are added to the graph main_graph for CUDAExecutionProvider. It might have negative impact on performance (including unable to run CUDA graph). Set session_options.log_severity_level=1 to see the detail logs before this message.
2024-06-06 00:36:37.353768490 [W:onnxruntime:, session_state.cc:1166 VerifyEachNodeIsAssignedToAnEp] Some nodes were not assigned to the preferred execution providers which may or may not have an negative impact on performance. e.g. ORT explicitly assigns shape related ops to CPU to improve perf.
2024-06-06 00:36:37.353867036 [W:onnxruntime:, session_state.cc:1168 VerifyEachNodeIsAssignedToAnEp] Rerunning with verbose output on a non-minimal build will show node assignments.
127.0.0.1 - - [06/Jun/2024 00:36:43] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:36:43] "OPTIONS /static/label/007-6721-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:36:43] "OPTIONS /static/real_label/007-6721-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:36:43] "GET /static/label/007-6721-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:36:43] "GET /static/real_label/007-6721-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 00:36:54] "OPTIONS /imgUpload HTTP/1.1" 200 -
[06/06/2024-00:36:56] [TRT] [W] Using an engine plan file across different models of devices is not recommended and is likely to affect performance or even cause errors.
[06/06/2024-00:36:57] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
[06/06/2024-00:36:57] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
127.0.0.1 - - [06/Jun/2024 00:36:59] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:36:59] "OPTIONS /static/label/007-6717-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:36:59] "OPTIONS /static/real_label/007-6717-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:36:59] "GET /static/label/007-6717-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:36:59] "GET /static/real_label/007-6717-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 00:37:09] "OPTIONS /resultUpload?precision=[0.996680892917288,0.30855263157894736,0.9313881265347392,0,0]&recall=[0.999291316486642,0.29617934954215347,0.5486725663716814,0,0]&iou=[0.9959769043337557,0.17802239514139306,0.5273574875276028,0,0]&pic_link=http://127.0.0.1:8000/static/origin_pic/007-6717-400.png&doc_text=<p>中度病变,可能包括中等大小的血管瘤、出血或渗</p>&label_link=http://127.0.0.1:8000/static/label/007-6717-400.png&real_label_link=http://127.0.0.1:8000/static/real_label/007-6717-400.png&prob=[0.994776002013465,0.0015939931626082762,0.0036300048239266765,0,0]&percentage=0.262106716632843&classify=中度非增殖期&doc_advice=中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。 HTTP/1.1" 200 -
image upload
0
/root/autodl-fs/models/first/seg.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[5.02717029e-03 4.20714961e-03 6.52359784e-01 3.05630807e-02
3.07732314e-01 1.10527784e-04]
[0.13728543 0.13717291 0.26227534 0.14083628 0.18581793 0.13661212]
{'label': '中度非增殖期', 'probability': 0.2622753381729126, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.2622753381729126, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6717-400.png'}
image upload
1
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
None
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[6.6420019e-02 2.1798968e-02 6.6373193e-01 3.5887815e-02 2.1214148e-01
1.9800591e-05]
[0.14628123 0.1398975 0.26582626 0.14188246 0.16922896 0.1368836 ]
{'label': '中度非增殖期', 'probability': 0.2658262550830841, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.2658262550830841, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6721-400.png'}
image upload
2
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[5.0588017e-03 4.2185397e-03 6.5166336e-01 3.0522911e-02 3.0842578e-01
1.1056934e-04]
[0.13729711 0.1371818 0.26210672 0.14083816 0.18595678 0.13661942]
{'label': '中度非增殖期', 'probability': 0.262106716632843, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.262106716632843, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6717-400.png'}
res_upload
2024-06-06 00:37:09,434 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 00:37:09,437 INFO sqlalchemy.engine.Engine INSERT INTO `imgRecord` (upload_time, user_id, pic_link, label_link, real_label_link, result, doc_text, doc_advice, classify) VALUES (%(upload_time)s, %(user_id)s, %(pic_link)s, %(label_link)s, %(real_label_link)s, %(result)s, %(doc_text)s, %(doc_advice)s, %(classify)s)
2024-06-06 00:37:09,438 INFO sqlalchemy.engine.Engine [generated in 0.00043s] {'upload_time': datetime.datetime(2024, 6, 6, 0, 37, 9, 433256), 'user_id': 1, 'pic_link': 'http://127.0.0.1:8000/static/origin_pic/007-6717-400.png', 'label_link': 'http://127.0.0.1:8000/static/label/007-6717-400.png', 'real_label_link': 'http://127.0.0.1:8000/static/real_label/007-6717-400.png', 'result': '{"precision": "[0.996680892917288,0.30855263157894736,0.9313881265347392,0,0]", "iou": "[0.9959769043337557,0.17802239514139306,0.5273574875276028,0, ... (45 characters truncated) ... 954215347,0.5486725663716814,0,0]", "prob": "[0.994776002013465,0.0015939931626082762,0.0036300048239266765,0,0]", "percentage": "0.262106716632843"}', 'doc_text': '<p>中度病变,可能包括中等大小的血管瘤、出血或渗</p>', 'doc_advice': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'classify': '中度非增殖期'}
2024-06-06 00:37:09,441 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-06 00:37:09,442 INFO sqlalchemy.engine.Engine [cached since 240.2s ago] {'param_1': 1}
2024-06-06 00:37:09,445 INFO sqlalchemy.engine.Engine UPDATE `globalData` SET num_pic=%(num_pic)s, precision_all=%(precision_all)s, iou_all=%(iou_all)s, recall_all=%(recall_all)s, prob_all=%(prob_all)s, percentage_all=%(percentage_all)s WHERE `globalData`.id = %(globalData_id)s
2024-06-06 00:37:09,445 INFO sqlalchemy.engine.Engine [generated in 0.00031s] {'num_pic': 11, 'precision_all': '[0.9966907822079228, 0.1794488423259234, 0.7983439331251119, 0.11653607428412469, 0.0]', 'iou_all': '[0.9946833338526301, 0.09686319123724202, 0.5009954308984059, 0.02625885909411293, 0.0]', 'recall_all': '[0.9979707801613266, 0.16538082070696672, 0.5809996444651909, 0.028259344194961664, 0.0]', 'prob_all': '[0.9925576277155964, 0.0014800150844320873, 0.004467700493917101, 0.000442567533193911, 0.0010520891728605024]', 'percentage_all': 0.33081697423934936, 'globalData_id': 1}
2024-06-06 00:37:09,446 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [06/Jun/2024 00:37:09] "GET /resultUpload?precision=[0.996680892917288,0.30855263157894736,0.9313881265347392,0,0]&recall=[0.999291316486642,0.29617934954215347,0.5486725663716814,0,0]&iou=[0.9959769043337557,0.17802239514139306,0.5273574875276028,0,0]&pic_link=http://127.0.0.1:8000/static/origin_pic/007-6717-400.png&doc_text=<p>中度病变,可能包括中等大小的血管瘤、出血或渗</p>&label_link=http://127.0.0.1:8000/static/label/007-6717-400.png&real_label_link=http://127.0.0.1:8000/static/real_label/007-6717-400.png&prob=[0.994776002013465,0.0015939931626082762,0.0036300048239266765,0,0]&percentage=0.262106716632843&classify=中度非增殖期&doc_advice=中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:37:14] "OPTIONS /static/origin_pic/ HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:37:14] "OPTIONS /getAllHistory HTTP/1.1" 200 -
get_Allhistory
2024-06-06 00:37:15,187 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 00:37:15,190 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.user_id = %(user_id_1)s
2024-06-06 00:37:15,191 INFO sqlalchemy.engine.Engine [generated in 0.00125s] {'user_id_1': 1}
2024-06-06 00:37:15,194 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 00:37:15] "GET /static/origin_pic/ HTTP/1.1" 404 -
127.0.0.1 - - [06/Jun/2024 00:37:15] "GET /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:37:16] "OPTIONS /getHistory?id=11 HTTP/1.1" 200 -
getHistory
2024-06-06 00:37:16,834 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 00:37:16,836 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-06 00:37:16,836 INFO sqlalchemy.engine.Engine [generated in 0.00032s] {'id_1': '11'}
2024-06-06 00:37:16,838 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 00:37:16] "GET /getHistory?id=11 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:37:17] "OPTIONS /static/origin_pic/007-6717-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:37:17] "GET /static/origin_pic/007-6717-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:37:17] "OPTIONS /static/origin_pic/007-6717-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:37:17] "GET /static/origin_pic/007-6717-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 00:37:18] "OPTIONS /getHistory?id=7 HTTP/1.1" 200 -
getHistory
2024-06-06 00:37:19,077 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 00:37:19,078 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-06 00:37:19,078 INFO sqlalchemy.engine.Engine [cached since 2.242s ago] {'id_1': '7'}
2024-06-06 00:37:19,079 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 00:37:19] "GET /getHistory?id=7 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:37:23] "OPTIONS /getHistory?id=11 HTTP/1.1" 200 -
getHistory
2024-06-06 00:37:23,785 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 00:37:23,785 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-06 00:37:23,786 INFO sqlalchemy.engine.Engine [cached since 6.95s ago] {'id_1': '11'}
2024-06-06 00:37:23,788 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 00:37:23] "GET /getHistory?id=11 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:37:25] "OPTIONS /delHistory?id=11 HTTP/1.1" 200 -
delHistory
2024-06-06 00:37:25,279 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 00:37:25,281 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
LIMIT %(param_1)s
2024-06-06 00:37:25,281 INFO sqlalchemy.engine.Engine [generated in 0.00040s] {'id_1': '11', 'param_1': 1}
2024-06-06 00:37:25,284 INFO sqlalchemy.engine.Engine DELETE FROM `imgRecord` WHERE `imgRecord`.id = %(id)s
2024-06-06 00:37:25,284 INFO sqlalchemy.engine.Engine [generated in 0.00031s] {'id': 11}
2024-06-06 00:37:25,285 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [06/Jun/2024 00:37:25] "GET /delHistory?id=11 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:37:33] "OPTIONS /getDataset HTTP/1.1" 200 -
get_dataset
2024-06-06 00:37:33,524 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 00:37:33,526 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.user_id = %(user_id_1)s
2024-06-06 00:37:33,527 INFO sqlalchemy.engine.Engine [generated in 0.00032s] {'user_id_1': 1}
2024-06-06 00:37:33,531 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 00:37:33] "GET /getDataset HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:37:49] "OPTIONS /uploadData HTTP/1.1" 200 -
uploadData
2024-06-06
2024-06-06 00:38:28,903 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 00:38:28,905 INFO sqlalchemy.engine.Engine INSERT INTO `datasetRecord` (upload_time, data_link, data_type, user_id, train_type, data_folder) VALUES (%(upload_time)s, %(data_link)s, %(data_type)s, %(user_id)s, %(train_type)s, %(data_folder)s)
2024-06-06 00:38:28,905 INFO sqlalchemy.engine.Engine [generated in 0.00031s] {'upload_time': datetime.datetime(2024, 6, 6, 0, 38, 28, 902497), 'data_link': None, 'data_type': 'classification', 'user_id': 1, 'train_type': 0, 'data_folder': '2024-06-06'}
2024-06-06 00:38:28,906 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [06/Jun/2024 00:38:28] "POST /uploadData HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 00:38:33] "OPTIONS /getDataset HTTP/1.1" 200 -
get_dataset
2024-06-06 00:38:33,589 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 00:38:33,590 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.user_id = %(user_id_1)s
2024-06-06 00:38:33,590 INFO sqlalchemy.engine.Engine [cached since 60.06s ago] {'user_id_1': 1}
2024-06-06 00:38:33,593 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 00:38:33] "GET /getDataset HTTP/1.1" 200 -
changeDataset
2024-06-06 09:22:15,936 INFO sqlalchemy.pool.impl.QueuePool Connection <pymysql.connections.Connection object at 0x7f1e141768e0> exceeded timeout; recycling
2024-06-06 09:22:15,939 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:22:15,940 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.data_folder = %(data_folder_1)s
2024-06-06 09:22:15,940 INFO sqlalchemy.engine.Engine [generated in 0.00030s] {'data_folder_1': '2024-06-01'}
2024-06-06 09:22:15,943 INFO sqlalchemy.engine.Engine UPDATE `datasetRecord` SET train_type=%(train_type)s WHERE `datasetRecord`.id = %(datasetRecord_id)s
2024-06-06 09:22:15,943 INFO sqlalchemy.engine.Engine [generated in 0.00033s] [{'train_type': '2', 'datasetRecord_id': 1}, {'train_type': '2', 'datasetRecord_id': 2}, {'train_type': '2', 'datasetRecord_id': 3}, {'train_type': '2', 'datasetRecord_id': 4}]
2024-06-06 09:22:15,945 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [06/Jun/2024 09:22:15] "GET /changeDataset?data_folder=2024-06-01&train_type=2 HTTP/1.1" 200 -
* Serving Flask app 'serve'
* Debug mode: off
Address already in use
Port 8000 is in use by another program. Either identify and stop that program, or start the server with a different port.
127.0.0.1 - - [06/Jun/2024 09:23:14] "OPTIONS /login?phone=1&password=1 HTTP/1.1" 200 -
login
2024-06-06 09:23:14,521 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:23:14,521 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-06 09:23:14,521 INFO sqlalchemy.engine.Engine [cached since 3.182e+04s ago] {'phone_1': '1', 'pswd_1': '1'}
2024-06-06 09:23:14,524 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:23:14] "GET /login?phone=1&password=1 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:23:22] "OPTIONS /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
login
2024-06-06 09:23:22,373 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:23:22,374 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-06 09:23:22,374 INFO sqlalchemy.engine.Engine [cached since 3.183e+04s ago] {'phone_1': '15592228631', 'pswd_1': 'jy2051914'}
2024-06-06 09:23:22,376 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:23:22] "GET /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:23:25] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-06 09:23:25,312 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:23:25,312 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-06 09:23:25,313 INFO sqlalchemy.engine.Engine [cached since 3.182e+04s ago] {'param_1': 1}
2024-06-06 09:23:25,315 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:23:25] "GET /getGlobal HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:23:35] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:23:44] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:23:44] "GET /static/real_label/007-6717-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:23:44] "GET /static/label/007-6717-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:23:58] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:24:01] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:24:02] "GET /static/label/007-6721-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:24:02] "GET /static/real_label/007-6721-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:24:54] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:24:58] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:24:58] "OPTIONS /static/real_label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:24:58] "OPTIONS /static/label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:24:58] "GET /static/real_label/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:24:58] "GET /static/label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:25:21] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:25:25] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:25:26] "GET /static/label/20170627170652393.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:25:26] "GET /static/real_label/20170627170652393.png HTTP/1.1" 200 -
* Serving Flask app 'serve'
* Debug mode: off
Address already in use
Port 8000 is in use by another program. Either identify and stop that program, or start the server with a different port.
* Serving Flask app 'serve'
* Debug mode: off
Address already in use
Port 8000 is in use by another program. Either identify and stop that program, or start the server with a different port.
* Serving Flask app 'serve'
* Debug mode: off
Address already in use
Port 8000 is in use by another program. Either identify and stop that program, or start the server with a different port.
* Serving Flask app 'serve'
* Debug mode: off
Address already in use
Port 8000 is in use by another program. Either identify and stop that program, or start the server with a different port.
* Serving Flask app 'serve'
* Debug mode: off
Address already in use
Port 8000 is in use by another program. Either identify and stop that program, or start the server with a different port.
* Serving Flask app 'serve'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:13444
* Running on http://172.17.0.2:13444
Press CTRL+C to quit
* Serving Flask app 'serve'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:13444
* Running on http://172.17.0.2:13444
Press CTRL+C to quit
image upload
0
/root/autodl-fs/models/first/seg.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[5.02717029e-03 4.20714961e-03 6.52359784e-01 3.05630807e-02
3.07732314e-01 1.10527784e-04]
[0.13728543 0.13717291 0.26227534 0.14083628 0.18581793 0.13661212]
{'label': '中度非增殖期', 'probability': 0.2622753381729126, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.2622753381729126, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6717-400.png'}
image upload
0
/root/autodl-fs/models/first/seg.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[6.6552959e-02 2.1918891e-02 6.6548181e-01 3.5845421e-02 2.1018094e-01
1.9971345e-05]
[0.14627664 0.13989128 0.2662481 0.14185311 0.16886976 0.13686113]
{'label': '中度非增殖期', 'probability': 0.26624810695648193, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.26624810695648193, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6721-400.png'}
image upload
0
/root/autodl-fs/models/first/seg.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[1.9046220e-01 1.6059520e-02 6.6519523e-01 1.6918581e-02 1.1119563e-01
1.6888903e-04]
[0.16559762 0.13909514 0.26621225 0.1392147 0.15297803 0.1369023 ]
{'label': '中度非增殖期', 'probability': 0.26621225476264954, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.26621225476264954, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6722-400.png'}
image upload
0
/root/autodl-fs/models/first/seg.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
/root/autodl-fs/models/res_62/class.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/res_62/class.pth|
| onnx_path | /root/autodl-fs/models/res_62/class.onnx|
| trt_path | /root/autodl-fs/models/res_62/class.trt|
| classes_path | model_data/cls_classes.txt|
| input_shape | [512, 512]|
| backbone | swin_transformer_tiny|
| letterbox_image | False|
| cuda | True|
| num_classes | 6|
----------------------------------------------------------------------
[1.1039180e-01 9.3754850e-02 5.0365192e-01 2.4992262e-01 4.2186908e-02
9.1881026e-05]
[0.1551669 0.15260676 0.22992688 0.17840071 0.14493659 0.13896212]
{'label': '中度非增殖期', 'probability': 0.22992688417434692, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.22992688417434692, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '20170627170652393.png'}
changeDataset
2024-06-06 09:39:37,639 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:39:37,640 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.data_folder = %(data_folder_1)s
2024-06-06 09:39:37,640 INFO sqlalchemy.engine.Engine [cached since 1042s ago] {'data_folder_1': '2024-06-01'}
2024-06-06 09:39:37,642 INFO sqlalchemy.engine.Engine UPDATE `datasetRecord` SET train_type=%(train_type)s WHERE `datasetRecord`.id = %(datasetRecord_id)s
2024-06-06 09:39:37,642 INFO sqlalchemy.engine.Engine [cached since 1042s ago] [{'train_type': '2', 'datasetRecord_id': 1}, {'train_type': '2', 'datasetRecord_id': 2}, {'train_type': '2', 'datasetRecord_id': 3}, {'train_type': '2', 'datasetRecord_id': 4}]
2024-06-06 09:39:37,643 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [06/Jun/2024 09:39:37] "GET /changeDataset?data_folder=2024-06-01&train_type=2 HTTP/1.1" 200 -
* Serving Flask app 'serve'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:8000
* Running on http://172.17.0.2:8000
Press CTRL+C to quit
127.0.0.1 - - [06/Jun/2024 09:45:19] "OPTIONS /getDataset HTTP/1.1" 200 -
get_dataset
2024-06-06 09:45:19,629 INFO sqlalchemy.engine.Engine SELECT DATABASE()
2024-06-06 09:45:19,629 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-06 09:45:19,629 INFO sqlalchemy.engine.Engine SELECT @@sql_mode
2024-06-06 09:45:19,630 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-06 09:45:19,630 INFO sqlalchemy.engine.Engine SELECT @@lower_case_table_names
2024-06-06 09:45:19,630 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-06 09:45:19,631 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:45:19,633 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.user_id = %(user_id_1)s
2024-06-06 09:45:19,633 INFO sqlalchemy.engine.Engine [generated in 0.00015s] {'user_id_1': 1}
2024-06-06 09:45:19,634 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:45:19] "GET /getDataset HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:45:29] "OPTIONS /imgUpload HTTP/1.1" 200 -
/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.
warnings.warn(
/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=None`.
warnings.warn(msg)
/autodl-fs/data/back/predict/nets/model_ra.py:64: UserWarning: Implicit dimension choice for log_softmax has been deprecated. Change the call to include dim=X as an argument.
return F.log_softmax(x)
127.0.0.1 - - [06/Jun/2024 09:45:33] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:45:34] "GET /static/real_label/007-6721-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:45:34] "GET /static/label/007-6721-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:46:45] "OPTIONS /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
image upload
0
/root/autodl-fs/models/first/seg.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
[ -7.426911 -7.5507894 -0.05993853 -3.8423147 -3.335088
-13.329561 ]
[5.9502275e-04 5.2569492e-04 9.4182223e-01 2.1443907e-02 3.5611447e-02
1.6257173e-06]
{'label': '中度非增殖期', 'probability': 0.9418222308158875, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.9418222308158875, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6721-400.png'}
login
2024-06-06 09:46:45,789 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:46:45,792 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-06 09:46:45,792 INFO sqlalchemy.engine.Engine [generated in 0.00052s] {'phone_1': '15592228631', 'pswd_1': 'jy2051914'}
2024-06-06 09:46:45,794 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:46:45] "GET /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:46:46] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-06 09:46:46,699 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:46:46,701 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-06 09:46:46,702 INFO sqlalchemy.engine.Engine [generated in 0.00037s] {'param_1': 1}
2024-06-06 09:46:46,704 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:46:46] "GET /getGlobal HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:46:52] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:46:54] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:46:59] "OPTIONS /getDataset HTTP/1.1" 200 -
image upload
0
/root/autodl-fs/models/first/seg.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
[ -7.426911 -7.5507894 -0.05993853 -3.8423147 -3.335088
-13.329561 ]
[5.9502275e-04 5.2569492e-04 9.4182223e-01 2.1443907e-02 3.5611447e-02
1.6257173e-06]
{'label': '中度非增殖期', 'probability': 0.9418222308158875, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.9418222308158875, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6721-400.png'}
get_dataset
2024-06-06 09:46:59,817 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:46:59,817 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.user_id = %(user_id_1)s
2024-06-06 09:46:59,818 INFO sqlalchemy.engine.Engine [cached since 100.2s ago] {'user_id_1': 1}
2024-06-06 09:46:59,820 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:46:59] "GET /getDataset HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:47:03] "OPTIONS /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:47:04] "GET /static/origin_pic/ HTTP/1.1" 404 -
get_Allhistory
2024-06-06 09:47:04,287 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:47:04,290 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.user_id = %(user_id_1)s
2024-06-06 09:47:04,290 INFO sqlalchemy.engine.Engine [generated in 0.00040s] {'user_id_1': 1}
2024-06-06 09:47:04,293 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:47:04] "GET /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:47:05] "OPTIONS /getHistory?id=10 HTTP/1.1" 200 -
getHistory
2024-06-06 09:47:05,500 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:47:05,501 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-06 09:47:05,502 INFO sqlalchemy.engine.Engine [generated in 0.00036s] {'id_1': '10'}
2024-06-06 09:47:05,504 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:47:05] "GET /getHistory?id=10 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:47:05] "GET /static/label/007-6717-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:47:06] "GET /static/origin_pic/007-6717-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:47:06] "GET /static/real_label/007-6717-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:47:07] "GET /static/origin_pic/007-6717-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:49:15] "OPTIONS /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
login
2024-06-06 09:49:15,792 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:49:15,793 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-06 09:49:15,793 INFO sqlalchemy.engine.Engine [cached since 150s ago] {'phone_1': '15592228631', 'pswd_1': 'jy2051914'}
2024-06-06 09:49:15,794 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:49:15] "GET /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:49:16] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-06 09:49:16,389 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:49:16,389 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-06 09:49:16,390 INFO sqlalchemy.engine.Engine [cached since 149.7s ago] {'param_1': 1}
2024-06-06 09:49:16,391 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:49:16] "GET /getGlobal HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:49:26] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:49:28] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:49:37] "OPTIONS /imgUpload HTTP/1.1" 200 -
2024-06-06 09:49:42.304336239 [W:onnxruntime:, transformer_memcpy.cc:74 ApplyImpl] 3 Memcpy nodes are added to the graph main_graph for CUDAExecutionProvider. It might have negative impact on performance (including unable to run CUDA graph). Set session_options.log_severity_level=1 to see the detail logs before this message.
2024-06-06 09:49:42.308856352 [W:onnxruntime:, session_state.cc:1166 VerifyEachNodeIsAssignedToAnEp] Some nodes were not assigned to the preferred execution providers which may or may not have an negative impact on performance. e.g. ORT explicitly assigns shape related ops to CPU to improve perf.
2024-06-06 09:49:42.309011890 [W:onnxruntime:, session_state.cc:1168 VerifyEachNodeIsAssignedToAnEp] Rerunning with verbose output on a non-minimal build will show node assignments.
127.0.0.1 - - [06/Jun/2024 09:49:46] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:49:55] "OPTIONS /imgUpload HTTP/1.1" 200 -
[06/06/2024-09:49:58] [TRT] [W] Using an engine plan file across different models of devices is not recommended and is likely to affect performance or even cause errors.
[06/06/2024-09:49:58] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
[06/06/2024-09:49:58] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
127.0.0.1 - - [06/Jun/2024 09:50:00] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:50:10] "OPTIONS /resultUpload?precision=[0.996680892917288,0.30855263157894736,0.9313881265347392,0,0]&recall=[0.999291316486642,0.29617934954215347,0.5486725663716814,0,0]&iou=[0.9959769043337557,0.17802239514139306,0.5273574875276028,0,0]&pic_link=http://127.0.0.1:8000/static/origin_pic/007-6717-400.png&doc_text=<p>中度病变,可能包括中等大小的血管瘤、出血或渗出。此<u>时,可能需要</u>更频繁的眼</p>&label_link=http://127.0.0.1:8000/static/label/007-6717-400.png&real_label_link=http://127.0.0.1:8000/static/real_label/007-6717-400.png&prob=[0.994776002013465,0.0015939931626082762,0.0036300048239266765,0,0]&percentage=0.9957214593887329&classify=中度非增殖期&doc_advice=中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。 HTTP/1.1" 200 -
image upload
0
/root/autodl-fs/models/first/seg.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
[-2.4787981e+01 -1.9727663e+01 -4.2876936e-03 -6.0564327e+00
-6.2472534e+00 -2.4518833e+01]
[1.7167878e-11 2.7063551e-09 9.9572146e-01 2.3427431e-03 1.9357634e-03
2.2470154e-11]
{'label': '中度非增殖期', 'probability': 0.9957214593887329, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.9957214593887329, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6717-400.png'}
image upload
1
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
None
[ -7.426911 -7.5507894 -0.05993853 -3.8423147 -3.335088
-13.329561 ]
[5.9502275e-04 5.2569492e-04 9.4182223e-01 2.1443907e-02 3.5611447e-02
1.6257173e-06]
{'label': '中度非增殖期', 'probability': 0.9418222308158875, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.9418222308158875, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6721-400.png'}
image upload
2
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
[-2.4787981e+01 -1.9727663e+01 -4.2876936e-03 -6.0564327e+00
-6.2472534e+00 -2.4518833e+01]
[1.7167878e-11 2.7063551e-09 9.9572146e-01 2.3427431e-03 1.9357634e-03
2.2470154e-11]
{'label': '中度非增殖期', 'probability': 0.9957214593887329, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.9957214593887329, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6717-400.png'}
res_upload
2024-06-06 09:50:10,503 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:50:10,504 INFO sqlalchemy.engine.Engine INSERT INTO `imgRecord` (upload_time, user_id, pic_link, label_link, real_label_link, result, doc_text, doc_advice, classify) VALUES (%(upload_time)s, %(user_id)s, %(pic_link)s, %(label_link)s, %(real_label_link)s, %(result)s, %(doc_text)s, %(doc_advice)s, %(classify)s)
2024-06-06 09:50:10,504 INFO sqlalchemy.engine.Engine [generated in 0.00020s] {'upload_time': datetime.datetime(2024, 6, 6, 9, 50, 10, 502540), 'user_id': 1, 'pic_link': 'http://127.0.0.1:8000/static/origin_pic/007-6717-400.png', 'label_link': 'http://127.0.0.1:8000/static/label/007-6717-400.png', 'real_label_link': 'http://127.0.0.1:8000/static/real_label/007-6717-400.png', 'result': '{"precision": "[0.996680892917288,0.30855263157894736,0.9313881265347392,0,0]", "iou": "[0.9959769043337557,0.17802239514139306,0.5273574875276028,0, ... (46 characters truncated) ... 54215347,0.5486725663716814,0,0]", "prob": "[0.994776002013465,0.0015939931626082762,0.0036300048239266765,0,0]", "percentage": "0.9957214593887329"}', 'doc_text': '<p>中度病变,可能包括中等大小的血管瘤、出血或渗出。此<u>时,可能需要</u>更频繁的眼</p>', 'doc_advice': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'classify': '中度非增殖期'}
2024-06-06 09:50:10,506 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-06 09:50:10,506 INFO sqlalchemy.engine.Engine [cached since 203.8s ago] {'param_1': 1}
2024-06-06 09:50:10,508 INFO sqlalchemy.engine.Engine UPDATE `globalData` SET num_pic=%(num_pic)s, precision_all=%(precision_all)s, iou_all=%(iou_all)s, recall_all=%(recall_all)s, prob_all=%(prob_all)s, percentage_all=%(percentage_all)s WHERE `globalData`.id = %(globalData_id)s
2024-06-06 09:50:10,508 INFO sqlalchemy.engine.Engine [generated in 0.00020s] {'num_pic': 12, 'precision_all': '[0.99668995810037, 0.19020749143034207, 0.8094309492425807, 0.10682473476044763, 0.0]', 'iou_all': '[0.9947911313927239, 0.1036264582292546, 0.5031922689508389, 0.02407062083627019, 0.0]', 'recall_all': '[0.9980808248551029, 0.17628069810989896, 0.5783057212907318, 0.025904398845381524, 0.0]', 'prob_all': '[0.9927424922404188, 0.0014895132576134363, 0.004397892521417898, 0.00040568690542775175, 0.0009644150751221271]', 'percentage_all': 0.3862257049490611, 'globalData_id': 1}
2024-06-06 09:50:10,508 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [06/Jun/2024 09:50:10] "GET /resultUpload?precision=[0.996680892917288,0.30855263157894736,0.9313881265347392,0,0]&recall=[0.999291316486642,0.29617934954215347,0.5486725663716814,0,0]&iou=[0.9959769043337557,0.17802239514139306,0.5273574875276028,0,0]&pic_link=http://127.0.0.1:8000/static/origin_pic/007-6717-400.png&doc_text=<p>中度病变,可能包括中等大小的血管瘤、出血或渗出。此<u>时,可能需要</u>更频繁的眼</p>&label_link=http://127.0.0.1:8000/static/label/007-6717-400.png&real_label_link=http://127.0.0.1:8000/static/real_label/007-6717-400.png&prob=[0.994776002013465,0.0015939931626082762,0.0036300048239266765,0,0]&percentage=0.9957214593887329&classify=中度非增殖期&doc_advice=中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:50:13] "OPTIONS /static/origin_pic/ HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:50:13] "OPTIONS /getAllHistory HTTP/1.1" 200 -
get_Allhistory
2024-06-06 09:50:13,728 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:50:13,729 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.user_id = %(user_id_1)s
2024-06-06 09:50:13,730 INFO sqlalchemy.engine.Engine [cached since 189.4s ago] {'user_id_1': 1}
2024-06-06 09:50:13,733 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:50:13] "GET /static/origin_pic/ HTTP/1.1" 404 -
127.0.0.1 - - [06/Jun/2024 09:50:13] "GET /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:50:15] "OPTIONS /getHistory?id=12 HTTP/1.1" 200 -
getHistory
2024-06-06 09:50:15,690 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:50:15,690 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-06 09:50:15,691 INFO sqlalchemy.engine.Engine [cached since 190.2s ago] {'id_1': '12'}
2024-06-06 09:50:15,693 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:50:15] "GET /getHistory?id=12 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:50:15] "OPTIONS /static/origin_pic/007-6717-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:50:16] "GET /static/origin_pic/007-6717-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:50:16] "OPTIONS /static/origin_pic/007-6717-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:50:16] "GET /static/origin_pic/007-6717-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:50:19] "OPTIONS /getHistory?id=10 HTTP/1.1" 200 -
getHistory
2024-06-06 09:50:19,506 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:50:19,507 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-06 09:50:19,507 INFO sqlalchemy.engine.Engine [cached since 194s ago] {'id_1': '10'}
2024-06-06 09:50:19,509 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:50:19] "GET /getHistory?id=10 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:50:22] "OPTIONS /getHistory?id=12 HTTP/1.1" 200 -
getHistory
2024-06-06 09:50:22,501 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:50:22,501 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-06 09:50:22,502 INFO sqlalchemy.engine.Engine [cached since 197s ago] {'id_1': '12'}
2024-06-06 09:50:22,504 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:50:22] "GET /getHistory?id=12 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:50:25] "OPTIONS /changeHistory?id=12&doc_text=<p>中度病变,可能包括中等大小的血管瘤、出血或渗出。此<u>时,可能需要</u></p> HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:50:25] "GET /changeHistory?id=12&doc_text=<p>中度病变,可能包括中等大小的血管瘤、出血或渗出。此<u>时,可能需要</u></p> HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:50:29] "OPTIONS /getHistory?id=7 HTTP/1.1" 200 -
changeHistory
getHistory
2024-06-06 09:50:29,521 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:50:29,521 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-06 09:50:29,521 INFO sqlalchemy.engine.Engine [cached since 204s ago] {'id_1': '7'}
2024-06-06 09:50:29,523 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:50:29] "GET /getHistory?id=7 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:50:31] "OPTIONS /getHistory?id=12 HTTP/1.1" 200 -
getHistory
2024-06-06 09:50:32,047 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:50:32,048 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-06 09:50:32,048 INFO sqlalchemy.engine.Engine [cached since 206.5s ago] {'id_1': '12'}
2024-06-06 09:50:32,050 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:50:32] "GET /getHistory?id=12 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:50:40] "OPTIONS /getDataset HTTP/1.1" 200 -
get_dataset
2024-06-06 09:50:40,898 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:50:40,899 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.user_id = %(user_id_1)s
2024-06-06 09:50:40,899 INFO sqlalchemy.engine.Engine [cached since 321.3s ago] {'user_id_1': 1}
2024-06-06 09:50:40,901 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:50:40] "GET /getDataset HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:50:52] "OPTIONS /uploadData HTTP/1.1" 200 -
uploadData
2024-06-06
2024-06-06 09:51:25,848 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:51:25,850 INFO sqlalchemy.engine.Engine INSERT INTO `datasetRecord` (upload_time, data_link, data_type, user_id, train_type, data_folder) VALUES (%(upload_time)s, %(data_link)s, %(data_type)s, %(user_id)s, %(train_type)s, %(data_folder)s)
2024-06-06 09:51:25,850 INFO sqlalchemy.engine.Engine [generated in 0.00030s] {'upload_time': datetime.datetime(2024, 6, 6, 9, 51, 25, 847514), 'data_link': None, 'data_type': 'segmentation', 'user_id': 1, 'train_type': 0, 'data_folder': '2024-06-06'}
2024-06-06 09:51:25,851 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [06/Jun/2024 09:51:25] "POST /uploadData HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:51:54] "OPTIONS /getDataset HTTP/1.1" 200 -
get_dataset
2024-06-06 09:51:55,280 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:51:55,280 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.user_id = %(user_id_1)s
2024-06-06 09:51:55,281 INFO sqlalchemy.engine.Engine [cached since 395.6s ago] {'user_id_1': 1}
2024-06-06 09:51:55,283 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:51:55] "GET /getDataset HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:55:03] "OPTIONS /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
login
2024-06-06 09:55:04,450 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:55:04,450 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-06 09:55:04,451 INFO sqlalchemy.engine.Engine [cached since 498.7s ago] {'phone_1': '15592228631', 'pswd_1': 'jy2051914'}
2024-06-06 09:55:04,453 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:55:04] "GET /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:55:05] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-06 09:55:05,745 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:55:05,745 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-06 09:55:05,746 INFO sqlalchemy.engine.Engine [cached since 499s ago] {'param_1': 1}
2024-06-06 09:55:05,748 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:55:05] "GET /getGlobal HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:55:14] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:55:17] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:55:17] "GET /static/label/007-6717-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:55:17] "GET /static/real_label/007-6717-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:55:25] "OPTIONS /imgUpload HTTP/1.1" 200 -
2024-06-06 09:55:27.100171109 [W:onnxruntime:, transformer_memcpy.cc:74 ApplyImpl] 3 Memcpy nodes are added to the graph main_graph for CUDAExecutionProvider. It might have negative impact on performance (including unable to run CUDA graph). Set session_options.log_severity_level=1 to see the detail logs before this message.
2024-06-06 09:55:27.104563997 [W:onnxruntime:, session_state.cc:1166 VerifyEachNodeIsAssignedToAnEp] Some nodes were not assigned to the preferred execution providers which may or may not have an negative impact on performance. e.g. ORT explicitly assigns shape related ops to CPU to improve perf.
2024-06-06 09:55:27.104679162 [W:onnxruntime:, session_state.cc:1168 VerifyEachNodeIsAssignedToAnEp] Rerunning with verbose output on a non-minimal build will show node assignments.
127.0.0.1 - - [06/Jun/2024 09:55:31] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:55:31] "OPTIONS /static/real_label/007-6721-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:55:31] "OPTIONS /static/label/007-6721-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:55:31] "GET /static/real_label/007-6721-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:55:31] "GET /static/label/007-6721-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:55:39] "OPTIONS /imgUpload HTTP/1.1" 200 -
[06/06/2024-09:55:40] [TRT] [W] Using an engine plan file across different models of devices is not recommended and is likely to affect performance or even cause errors.
[06/06/2024-09:55:40] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
[06/06/2024-09:55:40] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
127.0.0.1 - - [06/Jun/2024 09:55:42] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:55:42] "GET /static/real_label/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:55:42] "GET /static/label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:55:51] "OPTIONS /resultUpload?precision=[0.9988588541666666,0,0.8553109921343116,0.5210891617725574,0]&recall=[0.9970055662157167,0,0.8696236559139785,0.04593373493975904,0]&iou=[0.9958712404453307,0,0.758099478586912,0.044073154210882814,0]&pic_link=http://127.0.0.1:8000/static/origin_pic/007-6722-400.png&doc_text=<p>晚期病变,可能包括视网膜脱离或<u>其他严重并发</u>症</p>&label_link=http://127.0.0.1:8000/static/label/007-6722-400.png&real_label_link=http://127.0.0.1:8000/static/real_label/007-6722-400.png&prob=[0.9795918367346939,0.0017790816326530613,0.007718877551020408,0.0009556122448979592,0.009954591836734694]&percentage=0.9769716858863831&classify=增殖期&doc_advice=晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。 HTTP/1.1" 200 -
image upload
0
/root/autodl-fs/models/first/seg.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
[-2.4787981e+01 -1.9727663e+01 -4.2876936e-03 -6.0564327e+00
-6.2472534e+00 -2.4518833e+01]
[1.7167878e-11 2.7063551e-09 9.9572146e-01 2.3427431e-03 1.9357634e-03
2.2470154e-11]
{'label': '中度非增殖期', 'probability': 0.9957214593887329, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.9957214593887329, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6717-400.png'}
image upload
1
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
None
[ -7.426911 -7.5507894 -0.05993853 -3.8423147 -3.335088
-13.329561 ]
[5.9502275e-04 5.2569492e-04 9.4182223e-01 2.1443907e-02 3.5611447e-02
1.6257173e-06]
{'label': '中度非增殖期', 'probability': 0.9418222308158875, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.9418222308158875, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6721-400.png'}
image upload
2
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
[-2.3163832e+01 -2.5361849e+01 -3.7848732e+00 -8.0580473e+00
-2.3297625e-02 -2.5044542e+01]
[8.7111540e-11 9.6713930e-12 2.2711741e-02 3.1654432e-04 9.7697169e-01
1.3282917e-11]
{'label': '增殖期', 'probability': 0.9769716858863831, 'text': '晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。'}
{'label': '增殖期', 'probability': 0.9769716858863831, 'text': '晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。', 'filename': '007-6722-400.png'}
res_upload
2024-06-06 09:55:51,531 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:55:51,532 INFO sqlalchemy.engine.Engine INSERT INTO `imgRecord` (upload_time, user_id, pic_link, label_link, real_label_link, result, doc_text, doc_advice, classify) VALUES (%(upload_time)s, %(user_id)s, %(pic_link)s, %(label_link)s, %(real_label_link)s, %(result)s, %(doc_text)s, %(doc_advice)s, %(classify)s)
2024-06-06 09:55:51,532 INFO sqlalchemy.engine.Engine [cached since 341s ago] {'upload_time': datetime.datetime(2024, 6, 6, 9, 55, 51, 530195), 'user_id': 1, 'pic_link': 'http://127.0.0.1:8000/static/origin_pic/007-6722-400.png', 'label_link': 'http://127.0.0.1:8000/static/label/007-6722-400.png', 'real_label_link': 'http://127.0.0.1:8000/static/real_label/007-6722-400.png', 'result': '{"precision": "[0.9988588541666666,0,0.8553109921343116,0.5210891617725574,0]", "iou": "[0.9958712404453307,0,0.758099478586912,0.044073154210882814, ... (86 characters truncated) ... b": "[0.9795918367346939,0.0017790816326530613,0.007718877551020408,0.0009556122448979592,0.009954591836734694]", "percentage": "0.9769716858863831"}', 'doc_text': '<p>晚期病变,可能包括视网膜脱离或<u>其他严重并发</u>症</p>', 'doc_advice': '晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。', 'classify': '增殖期'}
2024-06-06 09:55:51,533 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-06 09:55:51,533 INFO sqlalchemy.engine.Engine [cached since 544.8s ago] {'param_1': 1}
2024-06-06 09:55:51,535 INFO sqlalchemy.engine.Engine UPDATE `globalData` SET num_pic=%(num_pic)s, precision_all=%(precision_all)s, iou_all=%(iou_all)s, recall_all=%(recall_all)s, prob_all=%(prob_all)s, percentage_all=%(percentage_all)s WHERE `globalData`.id = %(globalData_id)s
2024-06-06 09:55:51,535 INFO sqlalchemy.engine.Engine [cached since 341s ago] {'num_pic': 13, 'precision_all': '[0.9968567962593158, 0.17557614593570037, 0.8129601833111754, 0.13869122914599455, 0.0]', 'iou_all': '[0.9948742167044629, 0.09565519221161964, 0.5228005158459215, 0.02560927724970193, 0.0]', 'recall_all': '[0.9979981126520732, 0.1627206444091375, 0.6007147931848276, 0.02744511700648749, 0.0]', 'prob_all': '[0.991730903355363, 0.0015117877480010995, 0.004653352908310399, 0.0004479888546177677, 0.0016559671337077091]', 'percentage_all': 0.4316679758374141, 'globalData_id': 1}
2024-06-06 09:55:51,536 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [06/Jun/2024 09:55:51] "GET /resultUpload?precision=[0.9988588541666666,0,0.8553109921343116,0.5210891617725574,0]&recall=[0.9970055662157167,0,0.8696236559139785,0.04593373493975904,0]&iou=[0.9958712404453307,0,0.758099478586912,0.044073154210882814,0]&pic_link=http://127.0.0.1:8000/static/origin_pic/007-6722-400.png&doc_text=<p>晚期病变,可能包括视网膜脱离或<u>其他严重并发</u>症</p>&label_link=http://127.0.0.1:8000/static/label/007-6722-400.png&real_label_link=http://127.0.0.1:8000/static/real_label/007-6722-400.png&prob=[0.9795918367346939,0.0017790816326530613,0.007718877551020408,0.0009556122448979592,0.009954591836734694]&percentage=0.9769716858863831&classify=增殖期&doc_advice=晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:55:54] "OPTIONS /static/origin_pic/ HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:55:54] "OPTIONS /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:55:54] "GET /static/origin_pic/ HTTP/1.1" 404 -
get_Allhistory
2024-06-06 09:55:54,964 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:55:54,965 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.user_id = %(user_id_1)s
2024-06-06 09:55:54,965 INFO sqlalchemy.engine.Engine [cached since 530.7s ago] {'user_id_1': 1}
2024-06-06 09:55:54,968 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:55:54] "GET /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:55:57] "OPTIONS /getHistory?id=13 HTTP/1.1" 200 -
getHistory
2024-06-06 09:55:57,903 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:55:57,904 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-06 09:55:57,904 INFO sqlalchemy.engine.Engine [cached since 532.4s ago] {'id_1': '13'}
2024-06-06 09:55:57,906 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:55:57] "GET /getHistory?id=13 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:55:58] "OPTIONS /static/origin_pic/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:55:58] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:55:58] "OPTIONS /static/origin_pic/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:55:58] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:56:01] "OPTIONS /getHistory?id=2 HTTP/1.1" 200 -
getHistory
2024-06-06 09:56:02,061 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:56:02,062 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-06 09:56:02,062 INFO sqlalchemy.engine.Engine [cached since 536.6s ago] {'id_1': '2'}
2024-06-06 09:56:02,063 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:56:02] "GET /getHistory?id=2 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:02] "OPTIONS /static/real_label/007-6815-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:02] "OPTIONS /static/label/007-6815-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:02] "OPTIONS /static/origin_pic/007-6722-400.png20170629163635747.png007-6815-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:02] "GET /static/real_label/007-6815-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:02] "GET /static/label/007-6815-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:02] "GET /static/origin_pic/007-6722-400.png20170629163635747.png007-6815-400.png HTTP/1.1" 404 -
127.0.0.1 - - [06/Jun/2024 09:56:04] "OPTIONS /getHistory?id=5 HTTP/1.1" 200 -
getHistory
2024-06-06 09:56:05,057 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:56:05,058 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-06 09:56:05,058 INFO sqlalchemy.engine.Engine [cached since 539.6s ago] {'id_1': '5'}
2024-06-06 09:56:05,060 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:56:05] "GET /getHistory?id=5 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:05] "GET /static/real_label/007-6721-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:56:05] "GET /static/label/007-6721-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:56:05] "GET /static/origin_pic/007-6721-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:06] "OPTIONS /static/origin_pic/007-6721-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:06] "GET /static/origin_pic/007-6721-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:56:10] "OPTIONS /getHistory?id=2 HTTP/1.1" 200 -
getHistory
2024-06-06 09:56:11,138 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:56:11,138 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-06 09:56:11,139 INFO sqlalchemy.engine.Engine [cached since 545.6s ago] {'id_1': '2'}
2024-06-06 09:56:11,141 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:56:11] "GET /getHistory?id=2 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:11] "OPTIONS /static/origin_pic/007-6722-400.png20170629163635747.png007-6815-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:11] "GET /static/real_label/007-6815-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:56:11] "GET /static/label/007-6815-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:56:11] "GET /static/origin_pic/007-6722-400.png20170629163635747.png007-6815-400.png HTTP/1.1" 404 -
127.0.0.1 - - [06/Jun/2024 09:56:15] "OPTIONS /delHistory?id=2 HTTP/1.1" 200 -
delHistory
2024-06-06 09:56:15,514 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:56:15,515 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
LIMIT %(param_1)s
2024-06-06 09:56:15,516 INFO sqlalchemy.engine.Engine [generated in 0.00040s] {'id_1': '2', 'param_1': 1}
2024-06-06 09:56:15,519 INFO sqlalchemy.engine.Engine DELETE FROM `imgRecord` WHERE `imgRecord`.id = %(id)s
2024-06-06 09:56:15,519 INFO sqlalchemy.engine.Engine [generated in 0.00030s] {'id': 2}
2024-06-06 09:56:15,520 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [06/Jun/2024 09:56:15] "GET /delHistory?id=2 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:29] "OPTIONS /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:29] "GET /static/origin_pic/ HTTP/1.1" 404 -
get_Allhistory
2024-06-06 09:56:29,977 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:56:29,977 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.user_id = %(user_id_1)s
2024-06-06 09:56:29,978 INFO sqlalchemy.engine.Engine [cached since 565.7s ago] {'user_id_1': 1}
2024-06-06 09:56:29,980 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:56:29] "GET /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:31] "OPTIONS /getHistory?id=5 HTTP/1.1" 200 -
getHistory
2024-06-06 09:56:31,771 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:56:31,771 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-06 09:56:31,771 INFO sqlalchemy.engine.Engine [cached since 566.3s ago] {'id_1': '5'}
2024-06-06 09:56:31,773 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:56:31] "GET /getHistory?id=5 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:32] "GET /static/label/007-6721-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:56:32] "GET /static/origin_pic/007-6721-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:56:32] "GET /static/real_label/007-6721-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:56:32] "GET /static/origin_pic/007-6721-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:56:37] "OPTIONS /getHistory?id=13 HTTP/1.1" 200 -
getHistory
2024-06-06 09:56:37,501 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:56:37,502 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-06 09:56:37,502 INFO sqlalchemy.engine.Engine [cached since 572s ago] {'id_1': '13'}
2024-06-06 09:56:37,505 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:56:37] "GET /getHistory?id=13 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:37] "OPTIONS /static/real_label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:37] "OPTIONS /static/origin_pic/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:37] "GET /static/label/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:56:37] "OPTIONS /static/label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:38] "GET /static/real_label/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:56:38] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:56:38] "OPTIONS /static/origin_pic/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:38] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:56:40] "OPTIONS /changeHistory?id=13&doc_text=<p>晚期病变,可能包括视网膜脱离或<u>其他严重并发</u></p> HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:40] "GET /changeHistory?id=13&doc_text=<p>晚期病变,可能包括视网膜脱离或<u>其他严重并发</u></p> HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:43] "OPTIONS /getHistory?id=5 HTTP/1.1" 200 -
changeHistory
getHistory
2024-06-06 09:56:43,864 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:56:43,864 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-06 09:56:43,865 INFO sqlalchemy.engine.Engine [cached since 578.4s ago] {'id_1': '5'}
2024-06-06 09:56:43,867 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:56:43] "GET /getHistory?id=5 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:44] "GET /static/real_label/007-6721-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:56:44] "GET /static/label/007-6721-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:56:44] "GET /static/origin_pic/007-6721-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:56:44] "GET /static/origin_pic/007-6721-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:56:46] "OPTIONS /getHistory?id=13 HTTP/1.1" 200 -
getHistory
2024-06-06 09:56:46,582 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:56:46,583 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-06 09:56:46,583 INFO sqlalchemy.engine.Engine [cached since 581.1s ago] {'id_1': '13'}
2024-06-06 09:56:46,586 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:56:46] "GET /getHistory?id=13 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:47] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:56:47] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:56:50] "OPTIONS /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:50] "GET /static/origin_pic/ HTTP/1.1" 404 -
get_Allhistory
2024-06-06 09:56:50,685 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:56:50,686 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.user_id = %(user_id_1)s
2024-06-06 09:56:50,686 INFO sqlalchemy.engine.Engine [cached since 586.4s ago] {'user_id_1': 1}
2024-06-06 09:56:50,688 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:56:50] "GET /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:52] "OPTIONS /getHistory?id=13 HTTP/1.1" 200 -
getHistory
2024-06-06 09:56:52,882 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:56:52,883 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-06 09:56:52,883 INFO sqlalchemy.engine.Engine [cached since 587.4s ago] {'id_1': '13'}
2024-06-06 09:56:52,885 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:56:52] "GET /getHistory?id=13 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:53] "GET /static/label/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:56:53] "GET /static/real_label/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:56:53] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:56:53] "OPTIONS /static/origin_pic/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:53] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:56:56] "OPTIONS /changeHistory?id=13&doc_text=<p>晚期病变,可能包括视网膜脱离或<u>其他严重并发</u></p> HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:56:57] "GET /changeHistory?id=13&doc_text=<p>晚期病变,可能包括视网膜脱离或<u>其他严重并发</u></p> HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:57:36] "OPTIONS /changeHistory?id=13&doc_text=<p>晚期病变,可能包括视网膜脱离或<u>其他严重并</u></p> HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:57:36] "GET /changeHistory?id=13&doc_text=<p>晚期病变,可能包括视网膜脱离或<u>其他严重并</u></p> HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:59:19] "OPTIONS /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:59:19] "OPTIONS /static/origin_pic/ HTTP/1.1" 200 -
changeHistory
changeHistory
get_Allhistory
2024-06-06 09:59:20,160 INFO sqlalchemy.engine.Engine BEGIN (implicit)
127.0.0.1 - - [06/Jun/2024 09:59:20] "GET /static/origin_pic/ HTTP/1.1" 404 -
2024-06-06 09:59:20,161 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.user_id = %(user_id_1)s
2024-06-06 09:59:20,162 INFO sqlalchemy.engine.Engine [cached since 735.9s ago] {'user_id_1': 1}
2024-06-06 09:59:20,164 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:59:20] "GET /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:59:22] "OPTIONS /getHistory?id=13 HTTP/1.1" 200 -
getHistory
2024-06-06 09:59:23,086 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:59:23,086 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-06 09:59:23,087 INFO sqlalchemy.engine.Engine [cached since 737.6s ago] {'id_1': '13'}
2024-06-06 09:59:23,089 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:59:23] "GET /getHistory?id=13 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:59:23] "OPTIONS /static/real_label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:59:23] "OPTIONS /static/label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:59:23] "OPTIONS /static/origin_pic/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:59:23] "GET /static/real_label/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:59:23] "GET /static/label/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:59:23] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:59:23] "OPTIONS /static/origin_pic/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:59:23] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:59:27] "OPTIONS /changeHistory?id=13&doc_text=<p>晚期病变,可能包括视网膜脱离或<u>其他严重</u></p> HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:59:27] "GET /changeHistory?id=13&doc_text=<p>晚期病变,可能包括视网膜脱离或<u>其他严重</u></p> HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:59:32] "OPTIONS /static/origin_pic/ HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:59:32] "OPTIONS /getAllHistory HTTP/1.1" 200 -
changeHistory
get_Allhistory
2024-06-06 09:59:32,342 INFO sqlalchemy.engine.Engine BEGIN (implicit)
127.0.0.1 - - [06/Jun/2024 09:59:32] "GET /static/origin_pic/ HTTP/1.1" 404 -
2024-06-06 09:59:32,343 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.user_id = %(user_id_1)s
2024-06-06 09:59:32,344 INFO sqlalchemy.engine.Engine [cached since 748.1s ago] {'user_id_1': 1}
2024-06-06 09:59:32,346 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:59:32] "GET /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:59:34] "OPTIONS /getHistory?id=13 HTTP/1.1" 200 -
getHistory
2024-06-06 09:59:34,258 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 09:59:34,259 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-06 09:59:34,259 INFO sqlalchemy.engine.Engine [cached since 748.8s ago] {'id_1': '13'}
2024-06-06 09:59:34,261 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 09:59:34] "GET /getHistory?id=13 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:59:34] "OPTIONS /static/label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:59:34] "GET /static/label/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:59:34] "GET /static/real_label/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:59:34] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 09:59:34] "OPTIONS /static/origin_pic/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 09:59:34] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 10:05:23] "OPTIONS /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
login
2024-06-06 10:05:24,064 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 10:05:24,065 INFO sqlalchemy.engine.Engine SELECT users.id AS users_id, users.phone AS users_phone, users.pswd AS users_pswd, users.time_register AS users_time_register, users.time_login AS users_time_login
FROM users
WHERE users.phone = %(phone_1)s AND users.pswd = %(pswd_1)s
2024-06-06 10:05:24,065 INFO sqlalchemy.engine.Engine [cached since 1118s ago] {'phone_1': '15592228631', 'pswd_1': 'jy2051914'}
2024-06-06 10:05:24,068 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 10:05:24] "GET /login?phone=15592228631&password=jy2051914 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:05:24] "OPTIONS /getGlobal HTTP/1.1" 200 -
getGlobal
2024-06-06 10:05:24,758 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 10:05:24,758 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-06 10:05:24,758 INFO sqlalchemy.engine.Engine [cached since 1118s ago] {'param_1': 1}
2024-06-06 10:05:24,760 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 10:05:24] "GET /getGlobal HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:05:34] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:05:37] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:05:37] "GET /static/real_label/007-6717-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 10:05:37] "GET /static/label/007-6717-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:05:45] "OPTIONS /imgUpload HTTP/1.1" 200 -
2024-06-06 10:05:46.860917334 [W:onnxruntime:, transformer_memcpy.cc:74 ApplyImpl] 3 Memcpy nodes are added to the graph main_graph for CUDAExecutionProvider. It might have negative impact on performance (including unable to run CUDA graph). Set session_options.log_severity_level=1 to see the detail logs before this message.
2024-06-06 10:05:46.865450429 [W:onnxruntime:, session_state.cc:1166 VerifyEachNodeIsAssignedToAnEp] Some nodes were not assigned to the preferred execution providers which may or may not have an negative impact on performance. e.g. ORT explicitly assigns shape related ops to CPU to improve perf.
2024-06-06 10:05:46.865512169 [W:onnxruntime:, session_state.cc:1168 VerifyEachNodeIsAssignedToAnEp] Rerunning with verbose output on a non-minimal build will show node assignments.
127.0.0.1 - - [06/Jun/2024 10:05:50] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:05:51] "OPTIONS /static/label/007-6721-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:05:51] "OPTIONS /static/real_label/007-6721-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:05:51] "GET /static/label/007-6721-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:05:51] "GET /static/real_label/007-6721-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 10:05:59] "OPTIONS /imgUpload HTTP/1.1" 200 -
[06/06/2024-10:05:59] [TRT] [W] Using an engine plan file across different models of devices is not recommended and is likely to affect performance or even cause errors.
[06/06/2024-10:05:59] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
[06/06/2024-10:06:00] [TRT] [W] TensorRT was linked against cuDNN 8.9.0 but loaded cuDNN 8.7.0
127.0.0.1 - - [06/Jun/2024 10:06:01] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:06:09] "OPTIONS /resultUpload?precision=[0.9988588541666666,0,0.8553109921343116,0.5210891617725574,0]&recall=[0.9970055662157167,0,0.8696236559139785,0.04593373493975904,0]&iou=[0.9958712404453307,0,0.758099478586912,0.044073154210882814,0]&pic_link=http://127.0.0.1:8000/static/origin_pic/007-6722-400.png&doc_text=<p>晚期病变,可能包括视网膜脱离或其他严重并<sub>发症。在这种情</sub>况下</p>&label_link=http://127.0.0.1:8000/static/label/007-6722-400.png&real_label_link=http://127.0.0.1:8000/static/real_label/007-6722-400.png&prob=[0.9795918367346939,0.0017790816326530613,0.007718877551020408,0.0009556122448979592,0.009954591836734694]&percentage=0.9769716858863831&classify=增殖期&doc_advice=晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。 HTTP/1.1" 200 -
image upload
0
/root/autodl-fs/models/first/seg.pth model, and classes loaded.
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
[-2.4787981e+01 -1.9727663e+01 -4.2876936e-03 -6.0564327e+00
-6.2472534e+00 -2.4518833e+01]
[1.7167878e-11 2.7063551e-09 9.9572146e-01 2.3427431e-03 1.9357634e-03
2.2470154e-11]
{'label': '中度非增殖期', 'probability': 0.9957214593887329, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.9957214593887329, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6717-400.png'}
image upload
1
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
None
[ -7.426911 -7.5507894 -0.05993853 -3.8423147 -3.335088
-13.329561 ]
[5.9502275e-04 5.2569492e-04 9.4182223e-01 2.1443907e-02 3.5611447e-02
1.6257173e-06]
{'label': '中度非增殖期', 'probability': 0.9418222308158875, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。'}
{'label': '中度非增殖期', 'probability': 0.9418222308158875, 'text': '中度病变,可能包括中等大小的血管瘤、出血或渗出。此时,可能需要更频繁的眼睛检查,并根据病情决定是否需要治疗,如激光光凝或注射药物。', 'filename': '007-6721-400.png'}
image upload
2
Configurations:
----------------------------------------------------------------------
| keys | values|
----------------------------------------------------------------------
| model_path | /root/autodl-fs/models/first/seg.pth|
| onnx_path | /root/autodl-fs/models/first/seg.onnx|
| trt_path | /root/autodl-fs/models/first/seg.trt|
| num_classes | 5|
| backbone | resnet50|
| input_shape | [512, 512]|
| mix_type | 1|
| cuda | True|
----------------------------------------------------------------------
[-2.3163832e+01 -2.5361849e+01 -3.7848732e+00 -8.0580473e+00
-2.3297625e-02 -2.5044542e+01]
[8.7111540e-11 9.6713930e-12 2.2711741e-02 3.1654432e-04 9.7697169e-01
1.3282917e-11]
{'label': '增殖期', 'probability': 0.9769716858863831, 'text': '晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。'}
{'label': '增殖期', 'probability': 0.9769716858863831, 'text': '晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。', 'filename': '007-6722-400.png'}
res_upload
2024-06-06 10:06:10,117 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 10:06:10,118 INFO sqlalchemy.engine.Engine INSERT INTO `imgRecord` (upload_time, user_id, pic_link, label_link, real_label_link, result, doc_text, doc_advice, classify) VALUES (%(upload_time)s, %(user_id)s, %(pic_link)s, %(label_link)s, %(real_label_link)s, %(result)s, %(doc_text)s, %(doc_advice)s, %(classify)s)
2024-06-06 10:06:10,118 INFO sqlalchemy.engine.Engine [cached since 959.6s ago] {'upload_time': datetime.datetime(2024, 6, 6, 10, 6, 10, 116666), 'user_id': 1, 'pic_link': 'http://127.0.0.1:8000/static/origin_pic/007-6722-400.png', 'label_link': 'http://127.0.0.1:8000/static/label/007-6722-400.png', 'real_label_link': 'http://127.0.0.1:8000/static/real_label/007-6722-400.png', 'result': '{"precision": "[0.9988588541666666,0,0.8553109921343116,0.5210891617725574,0]", "iou": "[0.9958712404453307,0,0.758099478586912,0.044073154210882814, ... (86 characters truncated) ... b": "[0.9795918367346939,0.0017790816326530613,0.007718877551020408,0.0009556122448979592,0.009954591836734694]", "percentage": "0.9769716858863831"}', 'doc_text': '<p>晚期病变,可能包括视网膜脱离或其他严重并<sub>发症。在这种情</sub>况下</p>', 'doc_advice': '晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。', 'classify': '增殖期'}
2024-06-06 10:06:10,120 INFO sqlalchemy.engine.Engine SELECT `globalData`.id AS `globalData_id`, `globalData`.num_people AS `globalData_num_people`, `globalData`.num_pic AS `globalData_num_pic`, `globalData`.precision_all AS `globalData_precision_all`, `globalData`.iou_all AS `globalData_iou_all`, `globalData`.recall_all AS `globalData_recall_all`, `globalData`.prob_all AS `globalData_prob_all`, `globalData`.percentage_all AS `globalData_percentage_all`
FROM `globalData`
LIMIT %(param_1)s
2024-06-06 10:06:10,120 INFO sqlalchemy.engine.Engine [cached since 1163s ago] {'param_1': 1}
2024-06-06 10:06:10,122 INFO sqlalchemy.engine.Engine UPDATE `globalData` SET num_pic=%(num_pic)s, precision_all=%(precision_all)s, iou_all=%(iou_all)s, recall_all=%(recall_all)s, prob_all=%(prob_all)s, percentage_all=%(percentage_all)s WHERE `globalData`.id = %(globalData_id)s
2024-06-06 10:06:10,122 INFO sqlalchemy.engine.Engine [cached since 959.6s ago] {'num_pic': 14, 'precision_all': '[0.9969998003955551, 0.1630349926545789, 0.8159852410842566, 0.16600536719074904, 0.0]', 'iou_all': '[0.9949454326859534, 0.08882267848221824, 0.5396075846131351, 0.02692812560407199, 0.0]', 'recall_all': '[0.9979272164780476, 0.15109774123705624, 0.6199225690940526, 0.02876573257314974, 0.0]', 'prob_all': '[0.9908638271681722, 0.0015308801683333825, 0.004872318954218256, 0.00048424766820920996, 0.0022487260410667793]', 'percentage_all': 0.4706182632775988, 'globalData_id': 1}
2024-06-06 10:06:10,123 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [06/Jun/2024 10:06:10] "GET /resultUpload?precision=[0.9988588541666666,0,0.8553109921343116,0.5210891617725574,0]&recall=[0.9970055662157167,0,0.8696236559139785,0.04593373493975904,0]&iou=[0.9958712404453307,0,0.758099478586912,0.044073154210882814,0]&pic_link=http://127.0.0.1:8000/static/origin_pic/007-6722-400.png&doc_text=<p>晚期病变,可能包括视网膜脱离或其他严重并<sub>发症。在这种情</sub>况下</p>&label_link=http://127.0.0.1:8000/static/label/007-6722-400.png&real_label_link=http://127.0.0.1:8000/static/real_label/007-6722-400.png&prob=[0.9795918367346939,0.0017790816326530613,0.007718877551020408,0.0009556122448979592,0.009954591836734694]&percentage=0.9769716858863831&classify=增殖期&doc_advice=晚期病变,可能包括视网膜脱离或其他严重并发症。在这种情况下,可能需要紧急的眼科治疗,如手术修复视网膜脱离。 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:06:12] "OPTIONS /static/origin_pic/ HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:06:12] "OPTIONS /getAllHistory HTTP/1.1" 200 -
get_Allhistory
2024-06-06 10:06:13,123 INFO sqlalchemy.engine.Engine BEGIN (implicit)
127.0.0.1 - - [06/Jun/2024 10:06:13] "GET /static/origin_pic/ HTTP/1.1" 404 -
2024-06-06 10:06:13,124 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.user_id = %(user_id_1)s
2024-06-06 10:06:13,124 INFO sqlalchemy.engine.Engine [cached since 1149s ago] {'user_id_1': 1}
2024-06-06 10:06:13,127 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 10:06:13] "GET /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:06:15] "OPTIONS /getHistory?id=14 HTTP/1.1" 200 -
getHistory
2024-06-06 10:06:15,602 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 10:06:15,603 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-06 10:06:15,603 INFO sqlalchemy.engine.Engine [cached since 1150s ago] {'id_1': '14'}
2024-06-06 10:06:15,605 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 10:06:15] "GET /getHistory?id=14 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:06:15] "OPTIONS /static/origin_pic/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:06:16] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:06:16] "OPTIONS /static/origin_pic/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:06:16] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 10:06:21] "OPTIONS /delHistory?id=14 HTTP/1.1" 200 -
delHistory
2024-06-06 10:06:21,691 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 10:06:21,692 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
LIMIT %(param_1)s
2024-06-06 10:06:21,692 INFO sqlalchemy.engine.Engine [cached since 606.2s ago] {'id_1': '14', 'param_1': 1}
2024-06-06 10:06:21,694 INFO sqlalchemy.engine.Engine DELETE FROM `imgRecord` WHERE `imgRecord`.id = %(id)s
2024-06-06 10:06:21,695 INFO sqlalchemy.engine.Engine [cached since 606.2s ago] {'id': 14}
2024-06-06 10:06:21,695 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [06/Jun/2024 10:06:21] "GET /delHistory?id=14 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:06:25] "OPTIONS /static/origin_pic/ HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:06:25] "OPTIONS /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:06:25] "GET /static/origin_pic/ HTTP/1.1" 404 -
get_Allhistory
2024-06-06 10:06:25,929 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 10:06:25,929 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.user_id = %(user_id_1)s
2024-06-06 10:06:25,929 INFO sqlalchemy.engine.Engine [cached since 1162s ago] {'user_id_1': 1}
2024-06-06 10:06:25,931 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 10:06:25] "GET /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:06:26] "OPTIONS /getHistory?id=13 HTTP/1.1" 200 -
getHistory
2024-06-06 10:06:27,084 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 10:06:27,085 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-06 10:06:27,085 INFO sqlalchemy.engine.Engine [cached since 1162s ago] {'id_1': '13'}
2024-06-06 10:06:27,087 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 10:06:27] "GET /getHistory?id=13 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:06:27] "OPTIONS /static/origin_pic/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:06:27] "OPTIONS /static/label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:06:27] "GET /static/real_label/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 10:06:27] "GET /static/label/007-6722-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:06:27] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 10:06:27] "GET /static/origin_pic/007-6722-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 10:06:32] "OPTIONS /changeHistory?id=13&doc_text=<p>晚期病变,可能包括视网膜脱离或<u>其他严重</u></p> HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:06:32] "GET /changeHistory?id=13&doc_text=<p>晚期病变,可能包括视网膜脱离或<u>其他严重</u></p> HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:06:37] "OPTIONS /getDataset HTTP/1.1" 200 -
changeHistory
get_dataset
2024-06-06 10:06:37,238 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 10:06:37,239 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.user_id = %(user_id_1)s
2024-06-06 10:06:37,239 INFO sqlalchemy.engine.Engine [cached since 1278s ago] {'user_id_1': 1}
2024-06-06 10:06:37,241 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 10:06:37] "GET /getDataset HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:06:46] "OPTIONS /uploadData HTTP/1.1" 200 -
uploadData
2024-06-06
2024-06-06 10:06:48,099 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 10:06:48,100 INFO sqlalchemy.engine.Engine INSERT INTO `datasetRecord` (upload_time, data_link, data_type, user_id, train_type, data_folder) VALUES (%(upload_time)s, %(data_link)s, %(data_type)s, %(user_id)s, %(train_type)s, %(data_folder)s)
2024-06-06 10:06:48,100 INFO sqlalchemy.engine.Engine [cached since 922.3s ago] {'upload_time': datetime.datetime(2024, 6, 6, 10, 6, 48, 98721), 'data_link': None, 'data_type': 'segmentation', 'user_id': 1, 'train_type': 0, 'data_folder': '2024-06-06'}
2024-06-06 10:06:48,101 INFO sqlalchemy.engine.Engine COMMIT
127.0.0.1 - - [06/Jun/2024 10:06:48] "POST /uploadData HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 10:06:51] "OPTIONS /getDataset HTTP/1.1" 200 -
get_dataset
2024-06-06 10:06:52,019 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 10:06:52,019 INFO sqlalchemy.engine.Engine SELECT `datasetRecord`.id AS `datasetRecord_id`, `datasetRecord`.upload_time AS `datasetRecord_upload_time`, `datasetRecord`.data_link AS `datasetRecord_data_link`, `datasetRecord`.data_type AS `datasetRecord_data_type`, `datasetRecord`.user_id AS `datasetRecord_user_id`, `datasetRecord`.train_type AS `datasetRecord_train_type`, `datasetRecord`.data_folder AS `datasetRecord_data_folder`
FROM `datasetRecord`
WHERE `datasetRecord`.user_id = %(user_id_1)s
2024-06-06 10:06:52,020 INFO sqlalchemy.engine.Engine [cached since 1292s ago] {'user_id_1': 1}
2024-06-06 10:06:52,022 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 10:06:52] "GET /getDataset HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:15:23] "OPTIONS /static/origin_pic/ HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:15:24] "OPTIONS /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:15:24] "GET /static/origin_pic/ HTTP/1.1" 404 -
127.0.0.1 - - [06/Jun/2024 12:15:24] "GET /getAllHistory HTTP/1.1" 401 -
127.0.0.1 - - [06/Jun/2024 12:15:27] "GET /getAllHistory HTTP/1.1" 401 -
127.0.0.1 - - [06/Jun/2024 12:15:27] "OPTIONS /static/origin_pic/ HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:15:28] "GET /static/origin_pic/ HTTP/1.1" 404 -
127.0.0.1 - - [06/Jun/2024 12:15:32] "OPTIONS /getDataset HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:15:33] "GET /getDataset HTTP/1.1" 401 -
127.0.0.1 - - [06/Jun/2024 12:15:34] "GET /getDataset HTTP/1.1" 401 -
127.0.0.1 - - [06/Jun/2024 12:15:38] "OPTIONS /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:15:38] "GET /static/origin_pic/ HTTP/1.1" 404 -
127.0.0.1 - - [06/Jun/2024 12:15:38] "GET /getAllHistory HTTP/1.1" 401 -
127.0.0.1 - - [06/Jun/2024 12:16:15] "OPTIONS /static/origin_pic/ HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:16:15] "OPTIONS /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:16:15] "GET /static/origin_pic/ HTTP/1.1" 404 -
127.0.0.1 - - [06/Jun/2024 12:16:15] "GET /getAllHistory HTTP/1.1" 401 -
127.0.0.1 - - [06/Jun/2024 12:16:18] "OPTIONS /getDataset HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:16:18] "GET /getDataset HTTP/1.1" 401 -
127.0.0.1 - - [06/Jun/2024 12:17:22] "OPTIONS /getDataset HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:17:23] "GET /getDataset HTTP/1.1" 401 -
127.0.0.1 - - [06/Jun/2024 12:18:57] "OPTIONS /getDataset HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:18:57] "GET /getDataset HTTP/1.1" 401 -
127.0.0.1 - - [06/Jun/2024 12:19:01] "OPTIONS /static/origin_pic/ HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:19:01] "OPTIONS /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:19:01] "GET /static/origin_pic/ HTTP/1.1" 404 -
127.0.0.1 - - [06/Jun/2024 12:19:01] "GET /getAllHistory HTTP/1.1" 401 -
127.0.0.1 - - [06/Jun/2024 12:19:34] "OPTIONS /getDataset HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:19:34] "GET /getDataset HTTP/1.1" 401 -
127.0.0.1 - - [06/Jun/2024 12:19:50] "OPTIONS /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:19:50] "POST /imgUpload HTTP/1.1" 401 -
* Serving Flask app 'serve'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:8000
* Running on http://172.17.0.2:8000
Press CTRL+C to quit
127.0.0.1 - - [06/Jun/2024 12:22:17] "OPTIONS /static/origin_pic/ HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:22:17] "OPTIONS /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:22:17] "GET /static/origin_pic/ HTTP/1.1" 404 -
get_Allhistory
2024-06-06 12:22:17,677 INFO sqlalchemy.engine.Engine SELECT DATABASE()
2024-06-06 12:22:17,677 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-06 12:22:17,679 INFO sqlalchemy.engine.Engine SELECT @@sql_mode
2024-06-06 12:22:17,679 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-06 12:22:17,679 INFO sqlalchemy.engine.Engine SELECT @@lower_case_table_names
2024-06-06 12:22:17,680 INFO sqlalchemy.engine.Engine [raw sql] {}
2024-06-06 12:22:17,681 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 12:22:17,687 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.user_id = %(user_id_1)s
2024-06-06 12:22:17,688 INFO sqlalchemy.engine.Engine [generated in 0.00047s] {'user_id_1': 1}
2024-06-06 12:22:17,690 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 12:22:17] "GET /getAllHistory HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:22:18] "OPTIONS /getHistory?id=12 HTTP/1.1" 200 -
getHistory
2024-06-06 12:22:18,855 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-06-06 12:22:18,856 INFO sqlalchemy.engine.Engine SELECT `imgRecord`.id AS `imgRecord_id`, `imgRecord`.upload_time AS `imgRecord_upload_time`, `imgRecord`.user_id AS `imgRecord_user_id`, `imgRecord`.pic_link AS `imgRecord_pic_link`, `imgRecord`.label_link AS `imgRecord_label_link`, `imgRecord`.real_label_link AS `imgRecord_real_label_link`, `imgRecord`.result AS `imgRecord_result`, `imgRecord`.doc_text AS `imgRecord_doc_text`, `imgRecord`.doc_advice AS `imgRecord_doc_advice`, `imgRecord`.classify AS `imgRecord_classify`
FROM `imgRecord`
WHERE `imgRecord`.id = %(id_1)s
2024-06-06 12:22:18,856 INFO sqlalchemy.engine.Engine [generated in 0.00024s] {'id_1': '12'}
2024-06-06 12:22:18,857 INFO sqlalchemy.engine.Engine ROLLBACK
127.0.0.1 - - [06/Jun/2024 12:22:18] "GET /getHistory?id=12 HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:22:19] "OPTIONS /static/origin_pic/007-6717-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:22:19] "OPTIONS /static/label/007-6717-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:22:19] "OPTIONS /static/real_label/007-6717-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:22:19] "GET /static/label/007-6717-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 12:22:19] "GET /static/real_label/007-6717-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 12:22:19] "GET /static/origin_pic/007-6717-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:22:20] "OPTIONS /static/origin_pic/007-6717-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:22:20] "GET /static/origin_pic/007-6717-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 12:22:26] "OPTIONS /imgUpload HTTP/1.1" 200 -
/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.
warnings.warn(
/root/miniconda3/envs/vmunet/lib/python3.8/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=None`.
warnings.warn(msg)
/autodl-fs/data/back/predict/nets/model_ra.py:64: UserWarning: Implicit dimension choice for log_softmax has been deprecated. Change the call to include dim=X as an argument.
return F.log_softmax(x)
127.0.0.1 - - [06/Jun/2024 12:22:35] "POST /imgUpload HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:22:35] "OPTIONS /static/label/007-6721-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:22:35] "OPTIONS /static/real_label/007-6721-400.png HTTP/1.1" 200 -
127.0.0.1 - - [06/Jun/2024 12:22:35] "GET /static/real_label/007-6721-400.png HTTP/1.1" 304 -
127.0.0.1 - - [06/Jun/2024 12:22:35] "GET /static/label/007-6721-400.png HTTP/1.1" 200 -
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jinyi2025/back.git
[email protected]:jinyi2025/back.git
jinyi2025
back
back
master

搜索帮助