text:
test_bellmannx.py failing

Traceback (most recent call last):   File "test_bellmannx.py", line 10, in <module>     from ..utils import wss_add_market, wss_update_graph ImportError: attempted relative import with no known parent package
Much of the project seems to be not working, on my part. It was fine a year ago.
Ubuntu 18, Python 3.7.5

DEBUG:asyncio:Using selector: EpollSelector INFO:peregrinearb.utils.single_exchange:Fetching tickers DEBUG:ccxt.base.exchange:GET https://api.bitfinex.com/v1/symbols_details, Request: None None DEBUG:ccxt.base.exchange:GET https://api-pub.bitfinex.com/v2/tickers?symbols=ALL, Request: None None DEBUG:ccxt.base.exchange:GET https://api-pub.bitfinex.com/v2/tickers?symbols=ALL, Response: 200 <CIMultiDictProxy('Date': 'Thu, 13 Aug 2020 12:01:16 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Accept-Encoding', 'X-Frame-Options': 'SAMEORIGIN', 'X-XSS-Protection': '1; mode=block', 'Referrer-Policy': 'same-origin', 'X-Download-Options': 'noopen', 'X-Content-Type-Options': 'nosniff', 'Strict-Transport-Security': 'max-age=31536000; includeSubdomains;', 'X-Permitted-Cross-Domain-Policies': 'none', 'Content-Encoding': 'gzip', 'CF-Cache-Status': 'DYNAMIC', 'cf-request-id': '04894b327e00000aa461973200000001', 'Expect-CT': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"', 'Server': 'cloudflare', 'CF-RAY': '5c2247ca69200aa4-NRT')> [["tBTCUSD",11586,62.49061008,11587,54.57723087,111.96466662,0.0098,11586.96466662,5056.14807855,11625,11279],["tLTCUSD",54.693,1995.68018628,54.694,2074.6466996800004,0.312,0.0057,54.751,37202.8208755,54.998,51.901],["tLTCBTC",0.0047189,1713.1312442700003,0.0047235,1792.6729506400002,-0.0000402,-0.0085,0.004715,5442.72474812,0.0047571,0.0045896],... ,null,null,303.94742545],["fTESTUSDT",0.0004897780821917808,0,0,0,0.00048978,2,4443468.50747441,0.0000104,0.0212,0.0005,15584.746506689999,0.0005,0.0004896,null,null,11628.48575567],["fTESTBTC",0.0010204383561643836,0.0002,10,1,0.001,30,98712.20773914,0,0,0.001,29.65266839,0.001,0.001,null,null,1.53473146]] INFO:peregrinearb.utils.single_exchange:Fetched tickers INFO:peregrinearb.utils.single_exchange:MARKETCOUNT#309 - Loading exchange graph DEBUG:peregrinearb.utils.single_exchange:Initializing empty graph with exchange_name and timestamp attributes DEBUG:peregrinearb.utils.single_exchange:Initialized empty graph with exchange_name and timestamp attributes INFO:peregrinearb.utils.single_exchange:ITERATION#0 - Loading fees INFO:peregrinearb.utils.single_exchange:ITERATION#0 - MARKETCOUNT#309 - Loaded fees INFO:peregrinearb.utils.single_exchange:MARKETCOUNT#309 - CURRENCYCOUNT#175 - Adding data to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#EOS/EUR - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#EOS/EUR - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#EOS/JPY - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#EOS/JPY - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#EOS/GBP - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#EOS/GBP - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#IOTA/JPY - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#IOTA/JPY - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#IOTA/GBP - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#IOTA/GBP - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#IOST/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#IOST/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#IOST/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#IOST/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#IOST/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#IOST/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#AION/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#AION/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#AION/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#AION/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#REQ/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#REQ/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RDN/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RDN/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#LRC/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#LRC/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#LRC/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#LRC/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#WAXP/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#WAXP/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#WAXP/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#WAXP/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DAI/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DAI/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DAI/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DAI/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DAI/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DAI/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#AGI/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#AGI/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BFT/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BFT/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BFT/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BFT/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#MTN/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#MTN/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ODE/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ODE/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ODE/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ODE/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ODE/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ODE/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ANT/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ANT/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ANT/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ANT/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ANT/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ANT/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DTH/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DTH/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTC/JPY - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTC/JPY - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#MITH/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#MITH/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#STORJ/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#STORJ/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XLM/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XLM/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XLM/EUR - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XLM/EUR - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XLM/GBP - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XLM/GBP - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XLM/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XLM/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XRP/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XRP/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XLM/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XLM/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XRP/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XRP/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XVG/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XVG/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#IOTA/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#IOTA/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XVG/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XVG/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#IOTA/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#IOTA/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#MKR/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#MKR/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#IOTA/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#IOTA/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#MKR/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#MKR/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#EOS/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#EOS/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#MKR/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#MKR/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#EOS/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#EOS/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#KNC/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#KNC/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#EOS/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#EOS/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#KNC/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#KNC/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#SAN/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#SAN/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#POA/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#POA/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#SAN/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#SAN/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#LYM/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#LYM/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#SAN/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#SAN/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#UTK/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#UTK/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#OMG/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#OMG/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#VEE/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#VEE/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#OMG/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#OMG/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ORS Group/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ORS Group/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#OMG/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#OMG/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#AUC/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#AUC/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#NEO/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#NEO/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#POLY/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#POLY/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#NEO/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#NEO/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#FSN/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#FSN/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#NEO/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#NEO/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#CBT/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#CBT/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ETP/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ETP/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ZCN/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ZCN/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ETP/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ETP/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#NCASH/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#NCASH/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#CND/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#CND/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ETP/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ETP/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#CND/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#CND/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#CTXC/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#CTXC/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#PAI/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#PAI/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#SEER/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#SEER/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ESS/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ESS/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ATMI/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ATMI/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#Hydro Protocol/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#Hydro Protocol/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DTA/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DTA/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#IQ/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#IQ/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#IQ/EOS - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#IQ/EOS - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#WPR/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#WPR/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ZIL/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ZIL/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BNT/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BNT/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ABYSS/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ABYSS/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XRA/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XRA/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#MAN/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#MAN/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DGX/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DGX/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DGX/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DGX/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#VET/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#VET/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#VET/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#VET/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#UTNP/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#UTNP/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TKN/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TKN/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#GOT/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#GOT/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#GOT/EUR - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#GOT/EUR - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#GOT/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#GOT/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XTZ/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XTZ/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XTZ/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XTZ/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#CNN/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#CNN/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BOX/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BOX/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XMR/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XMR/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TRX/EUR - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TRX/EUR - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XMR/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XMR/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TRX/GBP - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TRX/GBP - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ZEC/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ZEC/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TRX/JPY - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TRX/JPY - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ZEC/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ZEC/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#MGO/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#MGO/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DASH/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DASH/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RTE/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RTE/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#YGG/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#YGG/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#MLN/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#MLN/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#WTC/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#WTC/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#CSX/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#CSX/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#OMN/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#OMN/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#OMN/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#OMN/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#INT/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#INT/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DRN/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DRN/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#PNK/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#PNK/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#PNK/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#PNK/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DGB/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DGB/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTC/EUR - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTC/EUR - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DGB/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DGB/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTC/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTC/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BSV/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BSV/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BSV/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BSV/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#LTC/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#LTC/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BCH/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BCH/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#LTC/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#LTC/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BCH/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BCH/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ETH/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ETH/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#WLO/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#WLO/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RRT/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RRT/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#VLD/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#VLD/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ETH/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ETH/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ENJ/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ENJ/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ONL/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ONL/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ETC/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ETC/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DASH/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DASH/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RBT/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RBT/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ETC/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ETC/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RBT/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RBT/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#USDT/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#USDT/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#EUT/EUR - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#EUT/EUR - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#EUT/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#EUT/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#GUSD/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#GUSD/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#USDC/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#USDC/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TUSD/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TUSD/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#PAX/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#PAX/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RIF/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RIF/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RIF/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RIF/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#PAS/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#PAS/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#VSYS/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#VSYS/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#VSYS/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#VSYS/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#MKR/DAI - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#MKR/DAI - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTT/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTT/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTT/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTT/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTC/USDT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTC/USDT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ETH/USDT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ETH/USDT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#CLO/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#CLO/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#CLO/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#CLO/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#IMP/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#IMP/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#LTC/USDT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#LTC/USDT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#EOS/USDT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#EOS/USDT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BCH/USDT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BCH/USDT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#SCR/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#SCR/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#GNO/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#GNO/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#GEN/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#GEN/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ATOM/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ATOM/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ATOM/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ATOM/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ATOM/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ATOM/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#WBT/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#WBT/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XCHF/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XCHF/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#EUS/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#EUS/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#WBT/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#WBT/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XCHF/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XCHF/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#LEO/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#LEO/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#LEO/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#LEO/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#LEO/USDT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#LEO/USDT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#LEO/EOS - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#LEO/EOS - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#LEO/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#LEO/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#AST/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#AST/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#FOA/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#FOA/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#UFR/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#UFR/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ZB/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ZB/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#OKB/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#OKB/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#USK/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#USK/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#GTX/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#GTX/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#KAN/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#KAN/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#OKB/USDT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#OKB/USDT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#OKB/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#OKB/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#USK/USDT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#USK/USDT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#USK/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#USK/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#USK/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#USK/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#USK/EOS - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#USK/EOS - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#GTX/USDT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#GTX/USDT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#KAN/USDT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#KAN/USDT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#AMPL/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#AMPL/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#QTUM/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#QTUM/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ALGO/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ALGO/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#QTUM/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#QTUM/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ALGO/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ALGO/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#AVT/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#AVT/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ALGO/USDT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ALGO/USDT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#PNT/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#PNT/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTC/XCHF - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTC/XCHF - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#PNT/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#PNT/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#SWM/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#SWM/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#PNT/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#PNT/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TRI/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TRI/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTG/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTG/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#LOO/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#LOO/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTG/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTG/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTCF0/USTF0 - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTCF0/USTF0 - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DATA/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DATA/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ETHF0/USTF0 - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ETHF0/USTF0 - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DATA/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DATA/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#AMPL/USDT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#AMPL/USDT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DATA/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DATA/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DUSK/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DUSK/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#QASH/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#QASH/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DUSK/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DUSK/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#YOYOW/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#YOYOW/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#UOS/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#UOS/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#GNT/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#GNT/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#UOS/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#UOS/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#GNT/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#GNT/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RRB/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RRB/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#GNT/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#GNT/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RRB/USDT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RRB/USDT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#SNT/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#SNT/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DTX/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DTX/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#SNT/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#SNT/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#AMPL/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#AMPL/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#SNT/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#SNT/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#FTT/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#FTT/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#IOTA/EUR - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#IOTA/EUR - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#FTT/USDT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#FTT/USDT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BAT/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BAT/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#PAX/USDT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#PAX/USDT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BAT/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BAT/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#USDC/USDT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#USDC/USDT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BAT/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BAT/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TUSD/USDT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TUSD/USDT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#MANA/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#MANA/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTC/CNHT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTC/CNHT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#MANA/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#MANA/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#USDT/CNHT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#USDT/CNHT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#FUN/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#FUN/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#CNH/CNHT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#CNH/CNHT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#FUN/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#FUN/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#CHZ/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#CHZ/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ZRX/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ZRX/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#CHZ/USDT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#CHZ/USDT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ZRX/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ZRX/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XAUT/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XAUT/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ZRX/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ZRX/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XAUT/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XAUT/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TNB/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TNB/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XAUT/USDT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XAUT/USDT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TNB/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TNB/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XAUTF0/USTF0 - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#XAUTF0/USTF0 - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TNB/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TNB/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTCDOMF0/USTF0 - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTCDOMF0/USTF0 - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#SPANK/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#SPANK/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RINGX/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RINGX/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TRX/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TRX/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTSE/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTSE/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TRX/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TRX/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TESTBTC/TESTUSD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TESTBTC/TESTUSD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TRX/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TRX/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TESTBTC/TESTUSDT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TESTBTC/TESTUSDT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RCN/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RCN/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#AAA/BBB - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#AAA/BBB - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RLC/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RLC/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TESTBTCF0/TESTUSDTF0 - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#TESTBTCF0/TESTUSDTF0 - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RLC/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#RLC/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DOG/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DOG/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#AID/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#AID/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DOG/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DOG/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#SNGLS/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#SNGLS/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DOG/USDT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DOG/USDT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#REP/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#REP/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DOT/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#DOT/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#REP/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#REP/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#AMPF0/USTF0 - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#AMPF0/USTF0 - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#REP/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#REP/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ADA/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ADA/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ELF/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ELF/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ADA/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ADA/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#NEC/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#NEC/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ADA/USDT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ADA/USDT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#NEC/BTC - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#NEC/BTC - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#FET/USD - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#FET/USD - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#NEC/ETH - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#NEC/ETH - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#FET/USDT - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#FET/USDT - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTC/GBP - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#BTC/GBP - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ETH/EUR - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ETH/EUR - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ETH/JPY - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ETH/JPY - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ETH/GBP - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#ETH/GBP - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#NEO/EUR - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#NEO/EUR - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#NEO/JPY - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#NEO/JPY - Added edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#NEO/GBP - Adding edge to graph DEBUG:peregrinearb.utils.single_exchange:MARKET#NEO/GBP - Added edge to graph INFO:peregrinearb.utils.single_exchange:MARKETCOUNT#309 - CURRENCYCOUNT#175 - Added data to graph DEBUG:peregrinearb.utils.single_exchange:Closing connection DEBUG:peregrinearb.utils.single_exchange:Closed connection INFO:peregrinearb.utils.single_exchange:Loaded exchange graph INFO:peregrinearb.bellmannx:Running bellman_ford DEBUG:peregrinearb.bellmannx:Relaxing edges DEBUG:peregrinearb.bellmannx:Finished relaxing edges INFO:peregrinearb.bellmannx:Ran bellman_ford
Debug log. Pretty much every exchange I try shows similar results. (Single exchange, mult currencies)

Reverted back to 1.6.18-0.0.1 -- everything is working fine again.  Keep up the good work!

repo: wardbradt/peregrine


text:
Incompatible shapes

I used import_meta_graph and restore and have used my own image.
I am getting this error
Incompatible shapes: [1,30,40,21] vs. [1,18,28,21] at
image_np, pred_np = sess.run([image_tensor, pred], feed_dict=feed_dict_to_use)

Hi,
Please, provide the full code that you run.

I am using Python 3.5 on Windows 10
Thanks
Here is the code.
from future import division
import os
import sys
import tensorflow as tf
import skimage.io as io
import numpy as np
sys.path.append("tf-image-segmentation/")
sys.path.append("/home/dpakhom1/workspace/my_models/slim/")
fcn_16s_checkpoint_path =
'C:/TensorFlow/checkpoints/vgg_16.ckpt'
os.environ["CUDA_VISIBLE_DEVICES"] = '1'
slim = tf.contrib.slim
from tf_image_segmentation.models.fcn_8s import FCN_8s
from tf_image_segmentation.utils.inference import adapt_network_for_any_size_input
from tf_image_segmentation.utils.pascal_voc import pascal_segmentation_lut
number_of_classes = 21
image_filename = 'C:/Tensorflow/sticker/me.jpg'
#image_filename = 'C:/Tensorflow/sticker/small_cat.jpg'
image_filename_placeholder = tf.placeholder(tf.string)
feed_dict_to_use = {image_filename_placeholder: image_filename}
image_tensor = tf.read_file(image_filename_placeholder)
image_tensor = tf.image.decode_jpeg(image_tensor, channels=3)
Fake batch for image and annotation by adding
leading empty axis.
image_batch_tensor = tf.expand_dims(image_tensor, axis=0)
Be careful: after adaptation, network returns final labels
and not logits
FCN_8s = adapt_network_for_any_size_input(FCN_8s, 32)
pred, fcn_16s_variables_mapping = FCN_8s(image_batch_tensor=image_batch_tensor,
number_of_classes=number_of_classes,
is_training=False)
The op for initializing the variables.
initializer = tf.global_variables_initializer()
#saver = tf.train.Saver()
saver = tf.train.import_meta_graph('C:/TensorFlow/checkpoints/fcn_8s_checkpoint/model_fcn8s_final.ckpt.meta', clear_devices=True)
with tf.Session() as sess:
sess.run(initializer)
#saver.restore(sess,fcn_16s_checkpoint_path)
saver.restore(sess, "C:/TensorFlow/checkpoints/fcn_8s_checkpoint/model_fcn8s_final.ckpt")
image_np, pred_np = sess.run([image_tensor, pred], feed_dict=feed_dict_to_use)

io.imshow(image_np)
io.show()

io.imshow(pred_np.squeeze())
io.show()

Please correct the formatting of your post to be displayed as code:
https://help.github.com/articles/creating-and-highlighting-code-blocks/

....
from future import division
import os
import sys
import tensorflow as tf
import skimage.io as io
import numpy as np
sys.path.append("tf-image-segmentation/")
sys.path.append("/home/dpakhom1/workspace/my_models/slim/")
fcn_16s_checkpoint_path =
'C:/TensorFlow/checkpoints/vgg_16.ckpt'
os.environ["CUDA_VISIBLE_DEVICES"] = '1'
slim = tf.contrib.slim
from tf_image_segmentation.models.fcn_8s import FCN_8s
from tf_image_segmentation.utils.inference import adapt_network_for_any_size_input
from tf_image_segmentation.utils.pascal_voc import pascal_segmentation_lut
number_of_classes = 21
image_filename = 'C:/Tensorflow/sticker/me.jpg'
#image_filename = 'C:/Tensorflow/sticker/small_cat.jpg'
image_filename_placeholder = tf.placeholder(tf.string)
feed_dict_to_use = {image_filename_placeholder: image_filename}
image_tensor = tf.read_file(image_filename_placeholder)
image_tensor = tf.image.decode_jpeg(image_tensor, channels=3)
Fake batch for image and annotation by adding
leading empty axis.
image_batch_tensor = tf.expand_dims(image_tensor, axis=0)
Be careful: after adaptation, network returns final labels
and not logits
FCN_8s = adapt_network_for_any_size_input(FCN_8s, 32)
pred, fcn_16s_variables_mapping = FCN_8s(image_batch_tensor=image_batch_tensor,
number_of_classes=number_of_classes,
is_training=False)
The op for initializing the variables.
initializer = tf.global_variables_initializer()
#saver = tf.train.Saver()
saver = tf.train.import_meta_graph('C:/TensorFlow/checkpoints/fcn_8s_checkpoint/model_fcn8s_final.ckpt.meta', clear_devices=True)
with tf.Session() as sess:
sess.run(initializer)
#saver.restore(sess,fcn_16s_checkpoint_path)
saver.restore(sess, "C:/TensorFlow/checkpoints/fcn_8s_checkpoint/model_fcn8s_final.ckpt")
image_np, pred_np = sess.run([image_tensor, pred], feed_dict=feed_dict_to_use)

io.imshow(image_np)
io.show()

io.imshow(pred_np.squeeze())
io.show()

........

from __future__ import division

import os
import sys
import tensorflow as tf
import skimage.io as io
import numpy as np

sys.path.append("tf-image-segmentation/")
sys.path.append("/home/dpakhom1/workspace/my_models/slim/")

fcn_16s_checkpoint_path = \
 'C:/TensorFlow/checkpoints/vgg_16.ckpt'

os.environ["CUDA_VISIBLE_DEVICES"] = '1'

slim = tf.contrib.slim

from tf_image_segmentation.models.fcn_8s import FCN_8s
from tf_image_segmentation.utils.inference import adapt_network_for_any_size_input
from tf_image_segmentation.utils.pascal_voc import pascal_segmentation_lut

number_of_classes = 21

image_filename = 'C:/Tensorflow/sticker/me.jpg'

#image_filename = 'C:/Tensorflow/sticker/small_cat.jpg'

image_filename_placeholder = tf.placeholder(tf.string)

feed_dict_to_use = {image_filename_placeholder: image_filename}

image_tensor = tf.read_file(image_filename_placeholder)

image_tensor = tf.image.decode_jpeg(image_tensor, channels=3)

# Fake batch for image and annotation by adding
# leading empty axis.
image_batch_tensor = tf.expand_dims(image_tensor, axis=0)

# Be careful: after adaptation, network returns final labels
# and not logits
FCN_8s = adapt_network_for_any_size_input(FCN_8s, 32)

pred, fcn_16s_variables_mapping = FCN_8s(image_batch_tensor=image_batch_tensor,
                                          number_of_classes=number_of_classes,
                                          is_training=False)

# The op for initializing the variables.
initializer = tf.global_variables_initializer()

#saver = tf.train.Saver()
saver = tf.train.import_meta_graph('C:/TensorFlow/checkpoints/fcn_8s_checkpoint/model_fcn8s_final.ckpt.meta', clear_devices=True)

with tf.Session() as sess:

    sess.run(initializer)
    #saver.restore(sess,fcn_16s_checkpoint_path)
    saver.restore(sess, "C:/TensorFlow/checkpoints/fcn_8s_checkpoint/model_fcn8s_final.ckpt")
    image_np, pred_np = sess.run([image_tensor, pred], feed_dict=feed_dict_to_use)

    io.imshow(image_np)
    io.show()

    io.imshow(pred_np.squeeze())
    io.show()

@vijtad , I didn't test this code for python 3 yet.
It makes it hard for me to understand what's the reason for your mistake.
If you solve it, feel free to post your workaround.

Hi @vijtad, @warmspringwinds, i am getting same issue with python 2.7. Would you please suggest solution.

I highlighted my workaround to make it work in Python 3.5 as described in https://github.com/warmspringwinds/tf-image-segmentation/issues/11
But still segmentation is not perfect.
Waiting for your help on perfect segmentation.

@vijtad Perfect segmentation remains an open research question. In other words, nobody has solved it yet. Here is a leaderboard where you can see what it means to have state of the art results: http://host.robots.ox.ac.uk:8080/leaderboard/displaylb.php?challengeid=11&compid=6

I have a similar problem.
I made no changes to your code, but I also get compatibility issues. I narrowed it down to the following:
fcn_8s.py line 131:
fused_last_layer_and_pool4_logits = pool4_logits + last_layer_upsampled_by_factor_2_logits

InvalidArgumentError (see above for traceback): Incompatible shapes: [1,38,38,21] vs. [1,26,26,21]
[[Node: fcn_8s/add = Add[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](fcn_8s/pool4_fc/BiasAdd, fcn_8s/conv2d_transpose)]]

Some wiring is not done correctly in my view. I experimented with different input size:

616x616   --> Incompatible shapes: [1,38,38,21] vs. [1,26,26,21]

500x500   --> Incompatible shapes: [1,32,32,21] vs. [1,20,20,21]

598x800   --> Incompatible shapes: [1,38,50,21] vs. [1,26,38,21]

Hi Sebastian,
I was getting same issue and resolved by using branch of vgg
'git clone -b fully_conv_vgg HTTPS://github.com/warm spring winds/models
Hope it will help.
On 23 Mar 2017 3:26 p.m., "Sebastian Schaal" notifications@github.com
wrote:

I have a similar problem.
I made no changes to your code, but I also get compatibility issues. I
narrowed it down to the following:
fcn_8s.py line 131: fused_last_layer_and_pool4_logits = pool4_logits +
last_layer_upsampled_by_factor_2_logits
InvalidArgumentError (see above for traceback): Incompatible shapes:
[1,38,38,21] vs. [1,26,26,21] [[Node: fcn_8s/add = Add[T=DT_FLOAT,
_device="/job:localhost/replica:0/task:0/cpu:0"](fcn_8s/pool4_fc/BiasAdd,
fcn_8s/conv2d_transpose)]]
Some wiring is not done correctly in my view. I experimented with
different input size:
616x616 --> Incompatible shapes: [1,38,38,21] vs. [1,26,26,21]
500x500 --> Incompatible shapes: [1,32,32,21] vs. [1,20,20,21]
598x800 --> Incompatible shapes: [1,38,50,21] vs. [1,26,38,21]
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/warmspringwinds/tf-image-segmentation/issues/4#issuecomment-288669635,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AViHYGY1nAxVK6fnvxgROnFZIGuWx1vCks5rokHlgaJpZM4L7kzB
.

I have changed nothing in running FCN_32s_train.py except changing size and number of classes.
image_train_size = [850, 850]
number_of_classes = 2
I had created tfrecord successfully, but after running fcn_32s_train.py I get the following error:
Total memory: 11.90GiB
Free memory: 11.76GiB
I tensorflow/core/common_runtime/gpu/gpu_device.cc:906] DMA: 0
I tensorflow/core/common_runtime/gpu/gpu_device.cc:916] 0:   Y
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:0) -> (device: 0, name: TITAN X (Pascal), pci bus id: 0000:83:00.0)
I tensorflow/core/common_runtime/gpu/pool_allocator.cc:247] PoolAllocator: After 44669 get requests, put_count=44143 evicted_count=1000 eviction_rate=0.0226536 and unsatisfied allocation rate=0.0364011
I tensorflow/core/common_runtime/gpu/pool_allocator.cc:259] Raising pool_size_limit_ from 100 to 110
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
Traceback (most recent call last):
  File "fcn_32s_train.py", line 145, in <module>
    train_step ])
  File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 766, in run
    run_metadata_ptr)
  File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 964, in _run
    feed_dict_string, options, run_metadata)
  File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1014, in _do_run
    target_list, options, run_metadata)
  File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1034, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Invalid indices: [272,1] = [0, 15, 832] does not index into [1,832,832,2]
         [[Node: adam_vars/gradients/GatherNd_1_grad/ScatterNd = ScatterNd[T=DT_FLOAT, Tindices=DT_INT32, _device="/job:localhost/replica:0/task:0/cpu:0"](ToInt32_3/_2101, adam_vars/gradients/Reshape_4_grad/Reshape/_2103, adam_vars/gradients/GatherNd_1_grad/Shape/_2105)]]
         [[Node: adam_vars/gradients/GatherNd_1_grad/ScatterNd/_2107 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/gpu:0", send_device="/job:localhost/replica:0/task:0/cpu:0", send_device_incarnation=1, tensor_name="edge_155_adam_vars/gradients/GatherNd_1_grad/ScatterNd", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/gpu:0"]()]]

Caused by op u'adam_vars/gradients/GatherNd_1_grad/ScatterNd', defined at:
  File "fcn_32s_train.py", line 100, in <module>
    train_step = tf.train.AdamOptimizer(learning_rate=0.000001).minimize(cross_entropy_sum)
  File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/training/optimizer.py", line 269, in minimize
    grad_loss=grad_loss)
  File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/training/optimizer.py", line 335, in compute_gradients
    colocate_gradients_with_ops=colocate_gradients_with_ops)
  File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/ops/gradients_impl.py", line 482, in gradients
    in_grads = grad_fn(op, *out_grads)
  File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/ops/array_grad.py", line 354, in _GatherNdGrad
    ref_grad = array_ops.scatter_nd(indices, grad, ref_shape)
  File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/ops/gen_array_ops.py", line 2757, in scatter_nd
    shape=shape, name=name)
  File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 759, in apply_op
    op_def=op_def)
  File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 2240, in create_op
    original_op=self._default_original_op, op_def=op_def)
  File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1128, in __init__
    self._traceback = _extract_stack()

...which was originally created as op u'GatherNd_1', defined at:
  File "fcn_32s_train.py", line 82, in <module>
    class_labels=class_labels)
  File "/home/azim_se/projects/laneSegmentation/code/tf_image_segmentation/utils/training.py", line 167, in get_valid_logits_and_labels
    valid_logits_batch_tensor = tf.gather_nd(params=logits_batch_tensor, indices=valid_batch_indices)
  File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/ops/gen_array_ops.py", line 1407, in gather_nd
    name=name)
  File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 759, in apply_op
    op_def=op_def)
  File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 2240, in create_op
    original_op=self._default_original_op, op_def=op_def)
  File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1128, in __init__
    self._traceback = _extract_stack()

InvalidArgumentError (see above for traceback): Invalid indices: [272,1] = [0, 15, 832] does not index into [1,832,832,2]
[[Node: adam_vars/gradients/GatherNd_1_grad/ScatterNd = ScatterNd[T=DT_FLOAT, Tindices=DT_INT32, _device="/job:localhost/replica:0/task:0/cpu:0"](ToInt32_3/_2101, adam_vars/gradients/Reshape_4_grad/Reshape/_2103, adam_vars/gradients/GatherNd_1_grad/Shape/_2105)]]
[[Node: adam_vars/gradients/GatherNd_1_grad/ScatterNd/_2107 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/gpu:0", send_device="/job:localhost/replica:0/task:0/cpu:0", send_device_incarnation=1, tensor_name="edge_155_adam_vars/gradients/GatherNd_1_grad/ScatterNd", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/gpu:0"]]

Hi, this library will be heavily refactored in a month or so.
So far please check out this:
https://github.com/warmspringwinds/dense-ai
It has all the same functionality and even more.
2017-07-24 10:05 GMT-07:00 Seyed Majid Azimi notifications@github.com:

I have changed nothing in running FCN_32s_train.py except changing size
and number of classes.
image_train_size = [850, 850]
number_of_classes = 2
I had created tfrecord successfully, but after running fcn_32s_train.py I
get the following error:
Total memory: 11.90GiB
Free memory: 11.76GiB
I tensorflow/core/common_runtime/gpu/gpu_device.cc:906] DMA: 0
I tensorflow/core/common_runtime/gpu/gpu_device.cc:916] 0:   Y
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:0) -> (device: 0, name: TITAN X (Pascal), pci bus id: 0000:83:00.0)
I tensorflow/core/common_runtime/gpu/pool_allocator.cc:247] PoolAllocator: After 44669 get requests, put_count=44143 evicted_count=1000 eviction_rate=0.0226536 and unsatisfied allocation rate=0.0364011
I tensorflow/core/common_runtime/gpu/pool_allocator.cc:259] Raising pool_size_limit_ from 100 to 110
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
W tensorflow/core/kernels/queue_base.cc:294] _1_shuffle_batch/random_shuffle_queue: Skipping cancelled enqueue attempt with queue not closed
Traceback (most recent call last):
File "fcn_32s_train.py", line 145, in
train_step ])
File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 766, in run
run_metadata_ptr)
File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 964, in _run
feed_dict_string, options, run_metadata)
File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1014, in _do_run
target_list, options, run_metadata)
File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1034, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Invalid indices: [272,1] = [0, 15, 832] does not index into [1,832,832,2]
[[Node: adam_vars/gradients/GatherNd_1_grad/ScatterNd = ScatterNd[T=DT_FLOAT, Tindices=DT_INT32, _device="/job:localhost/replica:0/task:0/cpu:0"](ToInt32_3/_2101, adam_vars/gradients/Reshape_4_grad/Reshape/_2103, adam_vars/gradients/GatherNd_1_grad/Shape/_2105)]]
[[Node: adam_vars/gradients/GatherNd_1_grad/ScatterNd/_2107 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/gpu:0", send_device="/job:localhost/replica:0/task:0/cpu:0", send_device_incarnation=1, tensor_name="edge_155_adam_vars/gradients/GatherNd_1_grad/ScatterNd", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/gpu:0"]]
Caused by op u'adam_vars/gradients/GatherNd_1_grad/ScatterNd', defined at:
File "fcn_32s_train.py", line 100, in
train_step = tf.train.AdamOptimizer(learning_rate=0.000001).minimize(cross_entropy_sum)
File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/training/optimizer.py", line 269, in minimize
grad_loss=grad_loss)
File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/training/optimizer.py", line 335, in compute_gradients
colocate_gradients_with_ops=colocate_gradients_with_ops)
File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/ops/gradients_impl.py", line 482, in gradients
in_grads = grad_fn(op, *out_grads)
File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/ops/array_grad.py", line 354, in _GatherNdGrad
ref_grad = array_ops.scatter_nd(indices, grad, ref_shape)
File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/ops/gen_array_ops.py", line 2757, in scatter_nd
shape=shape, name=name)
File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 759, in apply_op
op_def=op_def)
File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 2240, in create_op
original_op=self._default_original_op, op_def=op_def)
File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1128, in init
self._traceback = _extract_stack()
...which was originally created as op u'GatherNd_1', defined at:
File "fcn_32s_train.py", line 82, in
class_labels=class_labels)
File "/home/azim_se/projects/laneSegmentation/code/tf_image_segmentation/utils/training.py", line 167, in get_valid_logits_and_labels
valid_logits_batch_tensor = tf.gather_nd(params=logits_batch_tensor, indices=valid_batch_indices)
File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/ops/gen_array_ops.py", line 1407, in gather_nd
name=name)
File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 759, in apply_op
op_def=op_def)
File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 2240, in create_op
original_op=self._default_original_op, op_def=op_def)
File "/home/azim_se/.virtualenvs/dani_sh-tf0.12-py2.7-lane_seg-fcn/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1128, in init
self._traceback = _extract_stack()
InvalidArgumentError (see above for traceback): Invalid indices: [272,1] =
[0, 15, 832] does not index into [1,832,832,2]
[[Node: adam_vars/gradients/GatherNd_1_grad/ScatterNd =
ScatterNd[T=DT_FLOAT, Tindices=DT_INT32, _device="/job:localhost/
replica:0/task:0/cpu:0"](ToInt32_3/_2101, adam_vars/gradients/Reshape_4_grad/Reshape/_2103,
adam_vars/gradients/GatherNd_1_grad/Shape/_2105)]]
[[Node: adam_vars/gradients/GatherNd_1_grad/ScatterNd/_2107 = Recvclient_terminated=false,
recv_device="/job:localhost/replica:0/task:0/gpu:0",
send_device="/job:localhost/replica:0/task:0/cpu:0",
send_device_incarnation=1, tensor_name="edge_155_adam
vars/gradients/GatherNd_1_grad/ScatterNd", tensor_type=DT_FLOAT,
_device="/job:localhost/replica:0/task:0/gpu:0"]]
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/warmspringwinds/tf-image-segmentation/issues/4#issuecomment-317488590,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACYrB0oOQyXBaw7mKGIIsl55QuqMhjHdks5sRM7vgaJpZM4L7kzB
.

thanks Daniil @warmspringwinds. I am not so familiar with torch. I have worked mostly with tensorflow. That would be super great if you could give me a hint what causes the mentioned error in this library.

source: gharchive/issue

authors: ahundt naharsingh sebaschaal smajida vijtad warmspringwinds

repo: warmspringwinds/tf-image-segmentation

license: MIT

license_type: permissive

license_source: github-api


text:
chore: don't skip scripts

fixes #58 ?

:tada: This PR is included in version 2.2.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

source: gharchive/pull-request

repo: wasdk/wasmparser

license_source: bigquery


text:
[BUG] pypi desc doesn't render for images without alt

Describe the bug
It does not work for images without a alt text because it does not have anything to display
To Reproduce
Steps to reproduce the behavior:

Use the command pypi desc wheel_filename
See an error

Expected behavior
Well it should not error
Information (please try to complete the following information):

OS             : 10
Terminal       : Windows Terminal
Shell          : powershell
OS Version     : 21H2 (OS Build 19044.1320
Python Version : 3.9.6
Package Versions       :-bs4==0.0.1
click==8.0.1
click-aliases==1.0.1
click-help-colors==0.9.1
humanize==3.12.0
lxml==4.6.3
packaging==21.2
questionary==1.10.0
requests==2.24.0
requests-cache==0.8.1
requests-oauthlib==1.3.0
requests-toolbelt==0.9.1
rich==10.12.0
rich-rst==0.2.3
shellingham==1.4.0
thefuzz==0.19.0
typer==0.4.0
wheel-filename==1.3.0

Additional context
Traceback:
❯ pypi desc wheel-filename
ℹ Info: Found shortened name 'desc', using 'description'
Traceback (most recent call last):
  File "C:\Program Files\Python 3.9\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Program Files\Python 3.9\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\Wasi Master\AppData\Programs\Python38\Scripts\pypi.exe\__main__.py", line 7, in <module>
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\pypi_cli\__main__.py", line 1469, in run
    app()
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\typer\main.py", line 214, in __call__
    return get_command(self)(*args, **kwargs)
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\click\core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\click\core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\click\core.py", line 1668, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\click\core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\click\core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\typer\main.py", line 500, in wrapper
    return callback(**use_params)  # type: ignore
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\pypi_cli\__main__.py", line 608, in description
    console.print(Panel(description, title=f"Description for {package_name}", border_style="bold magenta"))
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\rich\console.py", line 1594, in print
    extend(render(renderable, render_options))
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\rich\console.py", line 1225, in render
    for render_output in iter_render:
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\rich\panel.py", line 176, in __rich_console__
    lines = console.render_lines(renderable, child_options, style=style)
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\rich\console.py", line 1260, in render_lines
    lines = list(
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\rich\segment.py", line 269, in split_and_crop_lines
    for segment in segments:
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\rich\console.py", line 1225, in render
    for render_output in iter_render:
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\rich\padding.py", line 92, in __rich_console__
    lines = console.render_lines(
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\rich\console.py", line 1260, in render_lines
    lines = list(
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\rich\segment.py", line 269, in split_and_crop_lines
    for segment in segments:
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\rich\console.py", line 1225, in render
    for render_output in iter_render:
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\rich_rst\__init__.py", line 160, in __rich_console__
    document.walkabout(visitor)
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\docutils\nodes.py", line 214, in walkabout
    if child.walkabout(visitor):
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\docutils\nodes.py", line 214, in walkabout
    if child.walkabout(visitor):
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\docutils\nodes.py", line 206, in walkabout
    visitor.dispatch_visit(self)
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\docutils\nodes.py", line 1995, in dispatch_visit
    return method(node)
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\rich_rst\__init__.py", line 107, in visit_image
    Text("🌆 ") + Text(node["alt"], style=Style(link=target or node.get("uri"), color="#6088ff"))
  File "C:\Users\Wasi Master\AppData\Programs\Python38\site-packages\docutils\nodes.py", line 625, in __getitem__
    return self.attributes[key]
KeyError: 'alt'

This is a problem with rich-rst 0.2.3. Update to rich-rst 0.2.4 to fix.
pip install -U rich-rst

repo: wasi-master/pypi-command-line


text:
excuse me

How are negative examples of data generated during the training phase

For relation extraction task:

Positive examples are composed of named entity pairs having a relationship
Negative examples are composed of named entity pairs having "None"

For event argument role labeling task:

Positive examples are composed of event trigger and one of its arguments (named entity) w/ role label
Negative examples are composed of event trigger and named entities mentioned in the same sentence but the named entities do not play a role in the event (w/ role label "None")

We downsample the negative training instances by limiting the number of negative samples to be no more than the number of positive samples for each document.

repo: wasiahmad/GATE


text:
Model is not learning and is not generating meaningful output

Hi Wasi,
The paper is very insightful and I want to say thank you for the effort and the finding, first and foremost!
I have tested the code in two env: python 3.9 + Pytorch 1.11 and python 3.7 + Pytorch 1.5.0 and I didn't make any changes other than using the method mentioned in this thread to resolve error (RuntimeError: "index_select_out_cuda_impl" not implemented for 'Float While comment generation testing the code) during testing.
the suggested changes that I made:

(beam.py line:131 prevK = bestScoresId / numWords). You can modify this line to prevK = bestScoresId // numWords

Model not learning during training process:
I have tried to reproduce the transformer with copy attention result from the paper with the provided dataset, however, both training processes did not give meaningful result:
For python 3.9 + Pytorch 1.11
snippet of the training process looks like:

01/13/2023 06:47:30 PM: [ dev valid official: Epoch = 70 | bleu = 2.30 | rouge_l = 3.62 | Precision = 2.52 | Recall = 7.44 | F1 = 3.33 | examples = 8714 | valid time = 164.42 (s) ]
01/13/2023 06:52:14 PM: [ train: Epoch 71 | perplexity = 404.95 | ml_loss = 105.54 | Time for epoch = 283.49 (s) ]
01/13/2023 06:54:59 PM: [ dev valid official: Epoch = 71 | bleu = 2.30 | rouge_l = 3.62 | Precision = 2.52 | Recall = 7.44 | F1 = 3.33 | examples = 8714 | valid time = 164.19 (s) ]

The above is the last epoch, and the scores from the metric are not quite far from the scores from epoch 1 below, while ml_loss do not have significant drop:

01/13/2023 10:32:20 AM: [ train: Epoch 1 | perplexity = 12872.61 | ml_loss = 164.32 | Time for epoch = 258.82 (s) ]
01/13/2023 10:35:09 AM: [ dev valid official: Epoch = 1 | bleu = 2.05 | rouge_l = 0.86 | Precision = 0.58 | Recall = 1.92 | F1 = 0.79 | examples = 8714 | valid time = 167.51 (s) ]
01/13/2023 10:35:09 AM: [ Best valid: bleu = 2.05 (epoch 1, 2179 updates) ]

And for python 3.7 + Pytorch 1.5.0
the ml loss and perplexity are both nan and net_loss is containing nan for both ml_loss and perplexity for all of the epochs.
While the trained logs from the previous thread, which has a close result to the paper's, look something like this:
first epoch:

06/12/2020 03:56:03 PM: [ train: Epoch 1 | perplexity = 22026.47 | ml_loss = 452.92 | Time for epoch = 406.76 (s) ]
06/12/2020 03:58:45 PM: [ dev valid official: Epoch = 1 | bleu = 3.31 | rouge_l = 5.53 | Precision = 4.84 | Recall = 11.51 | F1 = 5.52 | examples = 8714 | valid time = 158.37 (s) ]

last epoch:

06/20/2020 08:02:14 AM: [ train: Epoch 122 | perplexity = 2.17 | ml_loss = 15.94 | Time for epoch = 1169.03 (s) ]
06/20/2020 08:08:00 AM: [ dev valid official: Epoch = 122 | bleu = 40.50 | rouge_l = 51.66 | Precision = 58.31 | Recall = 54.11 | F1 = 53.57 | examples = 8714 | valid time = 342.41 (s) ]

Saved model does not output meaningful result
Last but not least, I have also tried to use trained model provided by from the previous thread
and generate.sh to generate prediction of the sample.code
However, the result looks something like this:

"0": [
"( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ("
],
"1": [
", , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,"
],

My guess is there might be bug in the decoder base that causing this issue? Because both the trained transformer and trained rnn suffer the same issue when I run the generate.sh file.
Any hint on what might be the problem and where to look to resolve this issue?
Many thanks in advance!

We no longer support the codebase. When we released the code, we verified it.

authors: wasiahmad yijungan

repo: wasiahmad/NeuralCodeSum


text:
Build fails on FreeBSD: undefined: syscall.Mprotect

While building trufflehog-3.78.1 - these errors occur:
# github.com/wasilibs/go-re2/internal/alloc
vendor/github.com/wasilibs/go-re2/internal/alloc/alloc.go:58:16: undefined: syscall.Mprotect
vendor/github.com/wasilibs/go-re2/internal/alloc/alloc.go:80:18: undefined: syscall.Mprotect

Go-1.22
FreeBSD 14.1

@yurivict Thanks for the report and sorry for the trouble!
I think I know the issue and while I don't know if I'll be able to actually run tests on FreeBSD on CI, I'll add a check to at least compile the code for it.

Thanks again for the report @yurivict - I have released 1.6.0 including the fix for this issue. Sorry for the trouble.

@anuraaga
Thank you for fixing it so quick!

authors: anuraaga yurivict


text:
feat: add footer

Description
(Write your answer here.)
Checklist

[ ] I am making a proper pull request, not spam.
[ ] I've checked the issue list before deciding what to submit.

Related Issues or Pull Requests
#179
Add relevant screenshot or video (if any)
(Add here)

Yes i Worked on it just haven't created pull request will do by tonight.

@Purva2803 resolve conflicts

sorry @wasimreja for making you do this much efforts I am contributing for the first time so it's my learning phase there are the issues with branches so I am doing all the changes in the main and creating a pull request .

repo: wasimreja/book-finder


text:
par inspect does not output revision and version

wash par inspect is a way of inspecting a provider archive and printing the contents of the embedded claims to stdout in a human readable format (or, after #39, potentially as json)
The claims information displayed does not include revision or version information, which is invaluable for identifying the correct version of a parJEEzy to use. In order to implement this, one should just need to add additional rows to the table if rev and ver information is present on the claims.

I could give this a shot in a few hours. 👍

Sounds great @tiptop96! 🔥

Fixed by #45

repo: wasmCloud/wash


text:
[BUG] ctl and par help texts in the REPL are swapped

Describe the bug
In the REPL, when typing help the Structopt help texts for ctl and par are swapped.
To Reproduce
Steps to reproduce the behavior:

Run wash up
Run help in the REPL
See error

These two structopt help texts should be swapped to correctly describe their respective commands

Closed by #99


text:
allow look up for specific intents in similarity analysis

section ambiguous examples across intents

allow look up for single intents or intent pairs after shown the examples
explore options to visualize overlaps between intents

issued closed as irrelevant

issued closed as irrelevant


text:
New softer skin: lowkey

Softening the lines, desaturating the signal shading.

One thing that the grays highlight is what looks like a one pixel gap between some of the shading.  Look at the "body" and "tail" to see it clearest.  A minor thing.
Another sample:

I love it!

authors: davidthings drom

repo: wavedrom/wavedrom


text:
Track the number of spans that were discarded due to sampling

Track the number of spans that were discarded due to sampling for zipkin/Jaeger and 30000 ports.

Fixed with https://github.com/wavefrontHQ/java/pull/415

repo: wavefrontHQ/java


text:
Apply user defined units to distance plots on map

Distance plot on map was broken in https://github.com/wavelog/wavelog/pull/605 as user defined units where added. Results in distance being shown an NaN:

@phl0 thanks for fixing my mistake from earlier :)

repo: wavelog/wavelog


text:
bashrc completion does not work

Hello,
I would like to know how to have the auto-completion I have in my . bashrc file on Wave.
I saw that we could modify the environment variable WAVESHELL but it does not give the expected result. Someone to help me, please?
I specify that these are custom auto-completion in order to access my servers via aliases
Thanks!

Hi, thanks for submitting!  Wave Terminal handles all keyboard input locally.  That means we do not use any bash/zsh completion code to run our completions.  There are definitely places where bash/zsh (especially zsh) has more advanced completion code than we do, but we are working on closing the gap.  In fact we're working on some really exciting new completion code that should be deployed in the next couple of weeks.
If you don't mind sharing what your custom completion code does (if you share you bash scripts in a gist or comment that could be really helpful!) we can take a look to see if that is something we'll be able to support in the future.

authors: dylanpistachi sawka

repo: wavetermdev/waveterm