Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Trains Seems To Fail To Capture My Conda Environment, Any Idea? Os: Window 10

Trains seems to fail to capture my conda environment, any idea?

OS: Window 10

  
  
Posted 3 years ago
Votes Newest

Answers 17


Hi EnviousStarfish54 ,

Do you get any message regarding the repository detection at the end of the task? Does it log Waiting for repository detection and full package requirement analysis ?

  
  
Posted 3 years ago

EnviousStarfish54 we just fixed an issue that relates to "installed packages" on windows.
RC is due to be release in the upcoming days, I'll keep you posted

  
  
Posted 3 years ago

Do you get the repository detection or this section is empty too?

  
  
Posted 3 years ago

TimelyPenguin76 No, I didn't see it.

  
  
Posted 3 years ago

repository detection is fine

  
  
Posted 3 years ago

AgitatedDove14
I get this log but there is nothing show up in the UI.

2020-09-10 09:15:06,914 - trains.Task - INFO - Waiting for repository detection and full package requirement analysis ======> WARNING! UNCOMMITTED CHANGES IN REPOSITORY origin <====== 2020-09-10 09:15:10,378 - trains.Task - INFO - Finished repository detection and package analysis

  
  
Posted 3 years ago

EnviousStarfish54 something is also off in the git detection, it has not remote address, it just says "origin"
Any chance you have no git server ?
Regrading the installed packages, any chance you can send a sample code for me to debug ?

  
  
Posted 3 years ago

EnviousStarfish54 a fix is already available in the latest RC
Could you verify it solves your issue as well?
pip install trains==0.16.2rc0

  
  
Posted 3 years ago

this is a bit weird, I have two Window machine, and both point to the public server.

  
  
Posted 3 years ago

one does record the package, the other does not

  
  
Posted 3 years ago

let me know how can I provide better debug message

This log does not always show up, even tho it is logged when I run it on Machine B. In contrast, I run it on Machine A, this message did show up, but nothing is logged.

2020-09-10 09:15:06,914 - trains.Task - INFO - Waiting for repository detection and full package requirement analysis ======> WARNING! UNCOMMITTED CHANGES IN REPOSITORY origin <====== 2020-09-10 09:15:10,378 - trains.Task - INFO - Finished repository detection and package analysis

  
  
Posted 3 years ago

EnviousStarfish54 could you send the conda / pip environment?
Maybe that's the diff between machine A/B ?

  
  
Posted 3 years ago

And still a difference between A/B , one detecting the repo the other does not?

  
  
Posted 3 years ago

I create a fresh conda env and install python for both machine

  
  
Posted 3 years ago

conda create -n trains python==3.7.5
pip install trains==0.16.2.rc0

  
  
Posted 3 years ago

yes

  
  
Posted 3 years ago

AgitatedDove14 Git is fine, I just create a local repository for this. The code is two line
from trains import Task
task = Task.init(project_name="my project", task_name="my task3")

  
  
Posted 3 years ago
554 Views
17 Answers
3 years ago
one year ago
Tags