python |
Pythonタグが付けられた新着投稿 - Qiita |
Colabで動く!!Faster-R-CNNの実装 |
https://qiita.com/ImR0305/items/c2674dfe9f5ec1301304
|
importcvimportglobimportmatplotlibpyplotaspltdataclassdatasetclassdataclassinsertbackgroundclassestupledataclass学習済みモデルで推論する場合modeltorchloadpathcolabfrcnnmodelpt結果の表示modeltodevicemodelevalforimgfileinsortedglobglobtestpathimgcvimreadimgfileimgcvcvtColorimgcvCOLORBGRRGBimagetensortorchvisiontransformsfunctionaltotensorimgwithtorchnogradpredictionmodelimagetensortodeviceforiboxinenumeratepredictionboxesscorepredictionscoresicpunumpyifscoregtscoreroundfloatscorecatpredictionlabelsicpunumpytxtformatclassesintcatstrscorefontcvFONTHERSHEYSIMPLEXcatsizecvgetTextSizetxtfontccolorsintcatboxboxcpunumpyastypeintcvrectangleimgboxboxboxboxccvrectangleimgboxboxcatsizeboxcatsizeboxccvputTextimgtxtboxboxfontthicknesslineTypecvLINEAApltfigurefigsizepltimshowimgpltshow結果こんな画像が出力されるはず終わりにいかがだったでしょうかこれを使えばcolabで簡単に実行ができたはずです。 |
2020-11-30 02:28:27 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
pandasのリファレンスをながめてみた -ちゃんとリファレンスは読もうという話- |
https://qiita.com/showsan/items/dc1ccb7ab72d987d3ad2
|
pandasのリファレンスをながめてみたちゃんとリファレンスは読もうという話はじめに写経していろいろ試してみた中でpandasの使い方をもっとうまく使えるようになりたいという動機が生まれたので応用するフェーズへ移行するために、できることの範囲や境界を認識するためにながめてみました。 |
2020-11-30 02:10:22 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
shell scriptで、整数を引数として受け取り、その整数の回数分連番のディレクトリを作り、その連番の数だけそれぞれのディレクトリにファイルを作るような処理を作りたいです。 |
https://teratail.com/questions/307234?rss=all
|
shellscriptで、整数を引数として受け取り、その整数の回数分連番のディレクトリを作り、その連番の数だけそれぞれのディレクトリにファイルを作るような処理を作りたいです。 |
2020-11-30 02:10:00 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
javascriptにて質問と回答の選択肢を表示したい |
https://teratail.com/questions/307233?rss=all
|
javascriptにて質問と回答の選択肢を表示したいjavascriptを用いて簡単な診断メーカーを作ろうとしています。 |
2020-11-30 02:02:15 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
親要素のaのサイズを子要素のimgに合わせたい |
https://teratail.com/questions/307232?rss=all
|
親要素のaのサイズを子要素のimgに合わせたい色々試してみましたが、imgの画像が小さくなったり、a要素のサイズがかわらなかったり、aの親要素のサイズ変更なども試しましたがうまくいきません。 |
2020-11-30 02:01:42 |
Apple |
AppleInsider - Frontpage News |
Apple Watch credited with detecting heart problem in Ohio resident |
https://appleinsider.com/articles/20/11/29/apple-watch-credited-with-detecting-heart-problem-in-ohio-resident
|
Apple Watch credited with detecting heart problem in Ohio residentThe Apple Watch has been credited with saving another life with one Ohio resident warned of having a high resting heart rate which was found to be an atrial flutter Zachary Zies a year old recent graduate from Ohio State University is a long time sufferer of Friedreich s Ataxia a rare genetic disease that can affect the brain spinal cord and heart which can cause impairments in speech and difficulty in walking among other issues In a recent incident an issue with Zies heart was discovered by the Apple Watch Zeis was informed by the Apple Watch he had a high resting heart rate in the region of beats per minute reports NBC an extremely high heart rate and a potential indicator of an underlying health issue Acting on the notification Zeis got in contact with his healthcare provider and underwent an atrial ablation to correct what was determined to be an atrial flutter Read more |
2020-11-29 17:51:47 |
Apple |
AppleInsider - Frontpage News |
Cyber Monday deals knock $300-$400 off Apple's MacBook Pro, $70-$110 off iPad Pro, $200 off MacBook Air & more |
https://appleinsider.com/articles/20/11/29/cyber-monday-deals-knock-300-off-apples-macbook-pro-70-110-off-ipad-pro-200-off-macbook-air-more
|
Cyber Monday deals knock off Apple x s MacBook Pro off iPad Pro off MacBook Air amp moreB amp H s Cyber Sunday sale is going on now with markdowns on Apple s MacBook Pro MacBook Air iPad Pro and iPad Air models Save up to instantly with units in stock and ready to ship Cyber Sunday Apple saleB amp H s latest markdowns on Apple equipment offer holiday shoppers triple digit savings on inch MacBook Pro models Now for the standard model off or for the Core i retail config with TB of storage and Radeon M GB graphics off these price cuts are in addition to free expedited shipping within the contiguous U S with units in stock and ready to ship Read more |
2020-11-29 17:27:35 |
海外TECH |
Engadget |
Vizio's rotating Dolby Atmos soundbar is $400 off ahead of Cyber Monday |
https://www.engadget.com/vizio-elevate-dolby-atmos-soundbar-best-buy-sale-174233197.html
|
Vizio x s rotating Dolby Atmos soundbar is off ahead of Cyber MondayIf you re looking for a soundbar to go with your Black Friday TV Best Buy might have a solid option The retailer is selling Vizio s Dolby Atmos capable Elevate soundbar for just ahead of Cyber Monday ーa hefty below the official pr |
2020-11-29 17:42:33 |
Linux |
OMG! Ubuntu! |
FontManager 0.8 Released with Google Fonts Integration |
http://feedproxy.google.com/~r/d0od/~3/t8ox32XSDMs/font-manager-0-8-google-fonts-integration-linux
|
FontManager Released with Google Fonts IntegrationFont Manager for Linux adds integration with Google Fonts one of the biggest online sources of free fonts Learn more about the app in this post This post FontManager Released with Google Fonts Integration is from OMG Ubuntu Do not reproduce elsewhere without permission |
2020-11-29 17:11:25 |
海外ニュース |
Japan Times latest articles |
Japanese government conducts unified tests to hire workers from ‘ice age’ generation |
https://www.japantimes.co.jp/news/2020/11/29/business/hiring-ice-age-generation/
|
Japanese government conducts unified tests to hire workers from ice age generationIt is the first such tests to be conducted as part of efforts to support people in their s and s who struggled to land |
2020-11-30 02:06:06 |
海外ニュース |
Japan Times latest articles |
Almond Eye goes into retirement as Japan Cup champion |
https://www.japantimes.co.jp/sports/2020/11/29/more-sports/horse-racing/almond-eye-goes-retirement-japan-cup-champion/
|
racecourse |
2020-11-30 02:45:17 |
海外ニュース |
Japan Times latest articles |
My bank wants my residence card details to fight terrorism. Do I have to comply? |
https://www.japantimes.co.jp/community/2020/11/29/how-tos/bank-residence-card-rules/
|
My bank wants my residence card details to fight terrorism Do I have to comply Banks are sending some non Japanese customers requests to come into their branch and confirm their identities which they say is part of a broader strategy |
2020-11-30 03:05:27 |
海外ニュース |
Japan Times latest articles |
Iranian nuclear scientist killing will have fallout |
https://www.japantimes.co.jp/opinion/2020/11/29/commentary/world-commentary/iranian-nuclear-scientist-killing-will-fallout/
|
Iranian nuclear scientist killing will have falloutThe killing certainly has some of the hallmarks of a campaign of assassinations of Iranian nuclear scientists attributed to Israel four were killed between |
2020-11-30 02:13:41 |
ニュース |
BBC News - Home |
Covid: Risk of third wave 'if we don't get balance right' - Raab |
https://www.bbc.co.uk/news/uk-55122266
|
lockdown |
2020-11-29 17:09:32 |
ニュース |
BBC News - Home |
Diego Maradona: Police raid house and clinic of doctor |
https://www.bbc.co.uk/news/world-latin-america-55123188
|
argentine |
2020-11-29 17:39:27 |
ニュース |
BBC News - Home |
Nottingham student halls party broken up by police |
https://www.bbc.co.uk/news/uk-england-nottinghamshire-55123543
|
nottinghamshire |
2020-11-29 17:15:24 |
ニュース |
BBC News - Home |
The Crown should carry fiction warning, says culture secretary |
https://www.bbc.co.uk/news/entertainment-arts-55122965
|
mistake |
2020-11-29 17:27:53 |
ニュース |
BBC News - Home |
Covid in Scotland: Sturgeon defends handling of pandemic |
https://www.bbc.co.uk/news/uk-scotland-scotland-politics-55120734
|
england |
2020-11-29 17:09:23 |
ニュース |
BBC News - Home |
Socially-distanced Santa's Grottos can open for Christmas |
https://www.bbc.co.uk/news/uk-55123490
|
nativity |
2020-11-29 17:09:18 |
ニュース |
BBC News - Home |
O'Sullivan suffers shock UK Championship loss |
https://www.bbc.co.uk/sport/snooker/55096495
|
championship |
2020-11-29 17:06:08 |
コメント
コメントを投稿